Skip to content

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

Tell tox to use test_settings

Patryk Zawadzki38f770d62ad8
diff --git a/tox.ini b/tox.ini
index b5fb6a78ba..f8dcdb0ae1 100644
--- a/tox.ini
+++ b/tox.ini
@@ -5,11 +5,13 @@ envlist = py{27,34,35}-django{18,19,_master}
deps =
-rrequirements.txt
coverage
-commands=
+commands =
django18: pip install "django>=1.8,!=1.8.6,<1.9a0" --upgrade
django19: pip install "django>=1.9a1,<1.10a0" --upgrade
django_master: pip install https://github.com/django/django/archive/master.tar.gz
coverage run setup.py test
+setenv =
+ DJANGO_SETTINGS_MODULE = saleor.test_settings
[pytest]
testpaths = saleor