chore: correct tests so they function and cleanup correctly

ref: #731
This commit is contained in:
2025-04-23 18:32:47 +09:30
parent 7c9819efd1
commit daf30de835
10 changed files with 85 additions and 32 deletions

View File

@ -5,7 +5,6 @@ disable = [
enable = [
"variables"
]
source-roots = [
"app/"
]
@ -16,11 +15,15 @@ allow-global-unused-variables = true
init-import = true
[tool.pytest.ini_options]
addopts = '-s app'
addopts = '--cov --cov-branch --cov-report term --tb=long --verbosity=2 --full-trace --showlocals app'
DJANGO_SETTINGS_MODULE = 'app.settings'
junit_family = 'xunit2'
# -- recommended but optional:
# python_files = 'tests.py test_*.py *_tests.py'
log_cli = true
@ -32,4 +35,4 @@ log_cli_date_format = '%Y-%m-%d %H:%M:%S'
# 'tests/*.py',
# # 'tests/functional/**/*.py',
# # 'tests/unit/**/*.py',
# ]
# ]