root: fix root dir for coverage

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-07-22 23:15:52 +02:00
parent 34189fcc06
commit 4c50769040
1 changed files with 2 additions and 1 deletions

View File

@ -12,7 +12,7 @@ src_paths = ["authentik", "tests", "lifecycle"]
force_to_top = "*"
[tool.coverage.run]
source = ["authentik"]
source = ["."]
relative_files = true
omit = [
"*/asgi.py",
@ -20,6 +20,7 @@ omit = [
"*/migrations/*",
"*/apps.py",
"website/",
"BaseEvalautor"
]
[tool.coverage.report]