Skip to content

Commit b80cb22

Browse files
authored
test: Adding 19 server/app integration tests (#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 #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 c6436ee commit b80cb22

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
@@ -42,6 +42,7 @@ testpaths = ["tests"]
4242
python_files = "test_*.py"
4343
python_functions = "test_*"
4444
addopts = "--cov=src --cov-config=.coveragerc --cov-report term --cov-report xml:coverage.xml --cov-branch"
45+
asyncio_mode = "strict"
4546

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

0 commit comments

Comments
 (0)