From acb6954cdcbc9e417829bfcef135cc1178f0bce6 Mon Sep 17 00:00:00 2001 From: JaeyoungHeo Date: Tue, 2 Aug 2022 11:45:46 +0900 Subject: [PATCH] Add pytest-django --- poetry.lock | 21 ++++++++++++++++++++- pyproject.toml | 1 + 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/poetry.lock b/poetry.lock index 09bfe28..0cb63f1 100644 --- a/poetry.lock +++ b/poetry.lock @@ -370,6 +370,21 @@ pytest = ">=4.6" [package.extras] testing = ["fields", "hunter", "process-tests", "six", "pytest-xdist", "virtualenv"] +[[package]] +name = "pytest-django" +version = "4.5.2" +description = "A Django plugin for pytest." +category = "dev" +optional = false +python-versions = ">=3.5" + +[package.dependencies] +pytest = ">=5.4.0" + +[package.extras] +docs = ["sphinx", "sphinx-rtd-theme"] +testing = ["django", "django-configurations (>=2.0)"] + [[package]] name = "pytz" version = "2022.1" @@ -499,7 +514,7 @@ testing = ["coverage (>=4)", "coverage-enable-subprocess (>=1)", "flaky (>=3)", [metadata] lock-version = "1.1" python-versions = ">=3.9 <3.11" -content-hash = "818cc6ab9f91e2429229110cbb85283f87e212c335899f64ab56014c4eb2af98" +content-hash = "ec44a455153178ccca24579123689f3bb6bc6832a2f5c1ec3b303e2713de4521" [metadata.files] asgiref = [ @@ -607,6 +622,10 @@ pyflakes = [ pyparsing = [] pytest = [] pytest-cov = [] +pytest-django = [ + {file = "pytest-django-4.5.2.tar.gz", hash = "sha256:d9076f759bb7c36939dbdd5ae6633c18edfc2902d1a69fdbefd2426b970ce6c2"}, + {file = "pytest_django-4.5.2-py3-none-any.whl", hash = "sha256:c60834861933773109334fe5a53e83d1ef4828f2203a1d6a0fa9972f4f75ab3e"}, +] pytz = [ {file = "pytz-2022.1-py2.py3-none-any.whl", hash = "sha256:e68985985296d9a66a881eb3193b0906246245294a881e7c8afe623866ac6a5c"}, {file = "pytz-2022.1.tar.gz", hash = "sha256:1e760e2fe6a8163bc0b3d9a19c4f84342afa0a2affebfaa84b01b978a02ecaa7"}, diff --git a/pyproject.toml b/pyproject.toml index 0d1d8d9..cb007da 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -24,6 +24,7 @@ pytest-cov = "^3.0.0" codecov = "^2.1.12" black = "^22.6.0" pre-commit = "^2.19.0" +pytest-django = "^4.5.2" [build-system] requires = ["poetry-core>=1.0.0"]