Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Move pytest configurations from pytest.ini into setup.cfg

jxltom18fd6d64ee42
diff --git a/pytest.ini b/pytest.ini
deleted file mode 100644
index f5e1da36ad..0000000000
--- a/pytest.ini
+++ /dev/null
@@ -1,6 +0,0 @@
-[pytest]
-addopts = -n auto --vcr-record-mode=none --cov --cov-report=
-testpaths = tests
-filterwarnings =
- ignore::DeprecationWarning
- ignore::PendingDeprecationWarning
diff --git a/setup.cfg b/setup.cfg
index ee360a4166..e744c87747 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -14,7 +14,12 @@ exclude_lines =
return NotImplemented
[tool:pytest]
+addopts = -n auto --vcr-record-mode=none --cov --cov-report=
testpaths = tests saleor
+filterwarnings =
+ ignore::DeprecationWarning
+ ignore::PendingDeprecationWarning
+DJANGO_SETTINGS_MODULE = tests.settings
[flake8]
exclude =