Prepare for adding tests

This commit is contained in:
Benjamin Dauvergne 2015-04-29 17:41:16 +02:00
parent c2a2159311
commit 8eeb82c5c4
2 changed files with 16 additions and 0 deletions

View File

@ -1,3 +1,7 @@
from django.test import TestCase
# Create your tests here.
class MellonTestCase(TestCase):
def test_coin(self):
pass

12
testsettings.py Normal file
View File

@ -0,0 +1,12 @@
from django.conf import global_settings
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': 'mellon.sqlite3',
}
}
DEBUG = True
SECRET_KEY='xx'
INSTALLED_APPS = ('mellon', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions')
MIDDLEWARE_CLASSES = global_settings.MIDDLEWARE_CLASSES