Make sure that the urls.py is loaded before the tests are run. Django 1.6 doesn't guarantee this anymore. Part of a Fix for #387.

This commit is contained in:
Gregor Müllegger 2013-11-28 11:33:09 +01:00
parent d1f5e060f8
commit b8ab2e4408

View file

@ -1,3 +1,7 @@
# make sure that everything is setup for tests. Django 1.6 doesn't necessarily
# load the urls.py before the tests are run.
import example.urls
from test_apiviews import *
from test_builtin_api_resources import *
from test_permissions import *