diff --git a/api/pytest.ini b/api/pytest.ini
deleted file mode 100644
index 9be63d3531626526f46f196b840c02a9cae1c8b3..0000000000000000000000000000000000000000
--- a/api/pytest.ini
+++ /dev/null
@@ -1,6 +0,0 @@
-[pytest]
-DJANGO_SETTINGS_MODULE=config.settings.test
-
-# -- recommended but optional:
-python_files = tests.py test_*.py *_tests.py
-testpatsh = tests
diff --git a/api/setup.cfg b/api/setup.cfg
index c18b80d95bcd54716236d261e572b6b2143d6e3a..954b4d1966887553aaee23b084edbe3ad2833e7c 100644
--- a/api/setup.cfg
+++ b/api/setup.cfg
@@ -5,3 +5,8 @@ exclude = .tox,.git,*/migrations/*,*/static/CACHE/*,docs,node_modules
 [pep8]
 max-line-length = 120
 exclude=.tox,.git,*/migrations/*,*/static/CACHE/*,docs,node_modules
+
+[pytest]
+DJANGO_SETTINGS_MODULE=config.settings.test
+python_files = tests.py test_*.py *_tests.py
+testpaths = tests