Add dynamic context to coverage config and reformat
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user