diff options
author | Aurélien Bompard <aurelien@bompard.org> | 2013-02-19 12:27:35 +0100 |
---|---|---|
committer | Aurélien Bompard <aurelien@bompard.org> | 2013-02-19 12:45:34 +0100 |
commit | 838660b2faf2f419838dec591214c533323bb332 (patch) | |
tree | 10ef0830942fd19ef650305ecf3b2bac64cf6a8f /hyperkitty/tests | |
parent | 4889bb7371b0fc8ce427aa761be00c6b1ac3d212 (diff) | |
download | hyperkitty-838660b2faf2f419838dec591214c533323bb332.tar.gz hyperkitty-838660b2faf2f419838dec591214c533323bb332.tar.xz hyperkitty-838660b2faf2f419838dec591214c533323bb332.zip |
Fix unit tests
Diffstat (limited to 'hyperkitty/tests')
-rw-r--r-- | hyperkitty/tests/test_views.py | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/hyperkitty/tests/test_views.py b/hyperkitty/tests/test_views.py index e29d90b..94ec721 100644 --- a/hyperkitty/tests/test_views.py +++ b/hyperkitty/tests/test_views.py @@ -35,8 +35,16 @@ from django.core.urlresolvers import reverse from hyperkitty.models import Rating +TEST_DATABASES = { + 'default': { + 'ENGINE': 'django.db.backends.sqlite3', + 'NAME': ':memory:', + } +} -@override_settings(USE_SSL=False, USE_INTERNAL_AUTH=True) + +@override_settings(USE_SSL=False, USE_INTERNAL_AUTH=True, DEBUG=True, + DATABASES=TEST_DATABASES, KITTYSTORE_URL='sqlite:') class AccountViewsTestCase(TestCase): def setUp(self): |