Skip to content
Snippets Groups Projects
Commit 82236f17 authored by Neda Moeini's avatar Neda Moeini
Browse files

Move pytest configuration to pyproject.toml

parent adb279d1
Branches
Tags
1 merge request!2Feature/unit test for validations
......@@ -37,4 +37,10 @@ line-length = 120
[tool.ruff.lint.flake8-tidy-imports]
ban-relative-imports = "all"
[tool.ruff.lint.per-file-ignores]
"test/*" = ["S101", "ARG001",]
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "test.settings"
django_find_project = false
python_files = ["tests.py", "test_*.py", "*_tests.py"]
\ No newline at end of file
[pytest]
DJANGO_SETTINGS_MODULE = test.settings
django_find_project = false
python_files = tests.py test_*.py *_tests.py
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment