From c72a9fe80685575c88cf0de83f9568c5f4fbc882 Mon Sep 17 00:00:00 2001 From: Oliver Andrich Date: Sun, 6 Oct 2024 17:59:05 +0200 Subject: [PATCH] Tweaked pytest/coverage setup. --- pyproject.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index bce9e9e..ae29b41 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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