Skip to content

Commit 262354d

Browse files
author
Michael Barr
committed
Attempting to fix travis tests to load models.
1 parent 61287a5 commit 262354d

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

run_tests.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,18 @@
1717
if VERSION < (1, 6): # pragma: no cover
1818
test_runners_args = {
1919
'TEST_RUNNER': 'discover_runner.DiscoverRunner',
20+
'INSTALLED_APPS': (
21+
'django.contrib.contenttypes',
22+
'django.contrib.auth',
23+
'timezone_utils',
24+
'tests',
25+
)
2026
}
2127
settings.configure(
2228
DATABASES={
2329
'default': {
2430
'ENGINE': 'django.db.backends.sqlite3',
25-
'NAME': ':memory:',
31+
# 'NAME': ':memory:',
2632
},
2733
},
2834
INSTALLED_APPS=(

0 commit comments

Comments
 (0)