Set ALLOWED_HOSTS for the tests.
This is now required in Django 1.11
@@ -8,6 +8,8 @@ from oscar.defaults import * # noqa
# Path helper
location = lambda x: os.path.join(os.path.dirname(os.path.realpath(__file__)), x)
+ALLOWED_HOSTS = ['test']
+
DATABASES = {
'default': {
'ENGINE': os.environ.get('DATABASE_ENGINE', 'django.db.backends.postgresql_psycopg2'),
