Skip to content

Commit

Permalink
Add pytest-django (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
nrthbnd committed Dec 14, 2023
1 parent 28a62b0 commit e54cdcb
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 71 deletions.
84 changes: 24 additions & 60 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ types-openpyxl = "^3.1.0.24"
openpyxl-stubs = "^0.1.25"
click = "^8.1.7"
wrapt = "^1.16.0"
pytest = "^6.2"
pytest-django = "^4.7.0"

[tool.poetry.group.dev.dependencies]
isort = "^5.12.0"
Expand Down Expand Up @@ -62,3 +62,7 @@ django_settings_module = "adaptive_hockey_federation.core.config.dev_settings"

[tool.poetry.scripts]
parser = "adaptive_hockey_federation.parser.parser:parsing_file"

[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "adaptive_hockey_federation.core.config.test_settings"
python_files = ["test_*.py"]
7 changes: 2 additions & 5 deletions requirements/develop.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
asgiref==3.7.2 ; python_version >= "3.11" and python_version < "4.0"
atomicwrites==1.4.1 ; python_version >= "3.11" and python_version < "4.0" and sys_platform == "win32"
attrs==23.1.0 ; python_version >= "3.11" and python_version < "4.0"
cfgv==3.4.0 ; python_version >= "3.11" and python_version < "4.0"
click==8.1.7 ; python_version >= "3.11" and python_version < "4.0"
colorama==0.4.6 ; python_version >= "3.11" and python_version < "4.0" and (platform_system == "Windows" or sys_platform == "win32")
Expand All @@ -21,12 +19,11 @@ packaging==23.2 ; python_version >= "3.11" and python_version < "4.0"
platformdirs==4.1.0 ; python_version >= "3.11" and python_version < "4.0"
pluggy==1.3.0 ; python_version >= "3.11" and python_version < "4.0"
pre-commit==3.5.0 ; python_version >= "3.11" and python_version < "4.0"
py==1.11.0 ; python_version >= "3.11" and python_version < "4.0"
pytest==6.2.5 ; python_version >= "3.11" and python_version < "4.0"
pytest-django==4.7.0 ; python_version >= "3.11" and python_version < "4.0"
pytest==7.4.3 ; python_version >= "3.11" and python_version < "4.0"
pyyaml==6.0.1 ; python_version >= "3.11" and python_version < "4.0"
setuptools==69.0.2 ; python_version >= "3.11" and python_version < "4.0"
sqlparse==0.4.4 ; python_version >= "3.11" and python_version < "4.0"
toml==0.10.2 ; python_version >= "3.11" and python_version < "4.0"
types-openpyxl==3.1.0.32 ; python_version >= "3.11" and python_version < "4.0"
typing-extensions==4.9.0 ; python_version >= "3.11" and python_version < "4.0"
tzdata==2023.3 ; python_version >= "3.11" and python_version < "4.0" and sys_platform == "win32"
Expand Down
7 changes: 2 additions & 5 deletions requirements/production.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
asgiref==3.7.2 ; python_version >= "3.11" and python_version < "4.0"
atomicwrites==1.4.1 ; python_version >= "3.11" and python_version < "4.0" and sys_platform == "win32"
attrs==23.1.0 ; python_version >= "3.11" and python_version < "4.0"
click==8.1.7 ; python_version >= "3.11" and python_version < "4.0"
colorama==0.4.6 ; python_version >= "3.11" and python_version < "4.0" and (platform_system == "Windows" or sys_platform == "win32")
django==4.2.8 ; python_version >= "3.11" and python_version < "4.0"
Expand All @@ -13,10 +11,9 @@ openpyxl-stubs==0.1.25 ; python_version >= "3.11" and python_version < "4.0"
openpyxl==3.1.2 ; python_version >= "3.11" and python_version < "4.0"
packaging==23.2 ; python_version >= "3.11" and python_version < "4.0"
pluggy==1.3.0 ; python_version >= "3.11" and python_version < "4.0"
py==1.11.0 ; python_version >= "3.11" and python_version < "4.0"
pytest==6.2.5 ; python_version >= "3.11" and python_version < "4.0"
pytest-django==4.7.0 ; python_version >= "3.11" and python_version < "4.0"
pytest==7.4.3 ; python_version >= "3.11" and python_version < "4.0"
sqlparse==0.4.4 ; python_version >= "3.11" and python_version < "4.0"
toml==0.10.2 ; python_version >= "3.11" and python_version < "4.0"
types-openpyxl==3.1.0.32 ; python_version >= "3.11" and python_version < "4.0"
typing-extensions==4.9.0 ; python_version >= "3.11" and python_version < "4.0"
tzdata==2023.3 ; python_version >= "3.11" and python_version < "4.0" and sys_platform == "win32"
Expand Down

0 comments on commit e54cdcb

Please sign in to comment.