Skip to content

Commit ca23f6f

Browse files
mindpowermartimfasantos
authored andcommitted
test: Adding 19 server/app integration tests (a2aproject#49)
* test: Adding 19 server/app integration tests * test: small change to pyproject.toml update pytest asyciomode to strict * test: updated .coveragerc * test: updated test_integration.py based on type->kind rename in a2aproject#34 * test: updated test_integration.py with nox format * test: remove unused local variable from test_integration.py * test: fixed lint warning for incompatible types in assignments and untyped function
1 parent 8f80582 commit ca23f6f

File tree

3 files changed

+674
-2
lines changed

3 files changed

+674
-2
lines changed

.coveragerc

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,18 @@
11
[run]
22
branch = True
3+
omit =
4+
*/tests/*
5+
*/site-packages/*
6+
*/__init__.py
7+
*/noxfile.py*
38

49
[report]
5-
exclude_also =
6-
pass
10+
exclude_lines =
11+
pragma: no cover
712
import
13+
def __repr__
14+
raise NotImplementedError
15+
if TYPE_CHECKING
816
@abstractmethod
17+
pass
18+
raise ImportError

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ testpaths = ["tests"]
4343
python_files = "test_*.py"
4444
python_functions = "test_*"
4545
addopts = "--cov=src --cov-config=.coveragerc --cov-report term --cov-report xml:coverage.xml --cov-branch"
46+
asyncio_mode = "strict"
4647

4748
[build-system]
4849
requires = ["hatchling", "uv-dynamic-versioning"]

0 commit comments

Comments
 (0)