Add dynamic context to coverage config and reformat

This commit is contained in:
Gurupratap Matharu
2026-09-01 13:42:40 +05:30
parent bf738c72bb
commit e4ad4b89f2
2 changed files with 2 additions and 2 deletions

View File

@@ -127,6 +127,7 @@ exclude = [".venv", "migrations", "docs", "src/helpdesk/static", "src/helpdesk/t
[tool.coverage.run]
branch = true
source = ["src/helpdesk"]
dynamic_context = "test_function"
omit = [
"*/helpdesk/migrations/*",
# omit single files

View File

@@ -1,9 +1,8 @@
from django.contrib.sites.models import Site
from django.test import TestCase
from helpdesk.lib import build_base_url
from django.contrib.sites.models import Site
class HelperTests(TestCase):
"""