Skip to content

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

Make pytest command compatible with the latest setuptools version

Adam Bogdałf368a64fd8cf
diff --git a/setup.py b/setup.py
index 27cbfeaf75..63142e3dc5 100755
--- a/setup.py
+++ b/setup.py
@@ -9,6 +9,7 @@ os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'saleor.settings')
class PyTest(TestCommand):
user_options = [('pytest-args=', 'a', "Arguments to pass to py.test")]
+ test_args = []
def initialize_options(self):
TestCommand.initialize_options(self)