Skip to content

Commit

Permalink
Tweaked pytest/coverage setup.
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverandrich committed Oct 6, 2024
1 parent b8b104a commit c72a9fe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -134,13 +134,14 @@ ban-relative-imports = "all"
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "tests.settings"
pythonpath = [".", "src"]
markers = ["mock_network_and_subprocess"]
testpaths = ["tests"]

# Coverage
[tool.coverage.run]
source = ["src"]
branch = true
parallel = true
omit = ["*/migrations/*", "*/tests/*", "*/conftest.py"]

[tool.coverage.report]
show_missing = true
Expand Down

0 comments on commit c72a9fe

Please sign in to comment.