From 8eeb82c5c49c2383be7d1bb0c747eea272acd1fa Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Wed, 29 Apr 2015 17:41:16 +0200 Subject: [PATCH] Prepare for adding tests --- mellon/tests.py | 4 ++++ testsettings.py | 12 ++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 testsettings.py diff --git a/mellon/tests.py b/mellon/tests.py index 7ce503c..fd9358c 100644 --- a/mellon/tests.py +++ b/mellon/tests.py @@ -1,3 +1,7 @@ from django.test import TestCase # Create your tests here. + +class MellonTestCase(TestCase): + def test_coin(self): + pass diff --git a/testsettings.py b/testsettings.py new file mode 100644 index 0000000..752a9b1 --- /dev/null +++ b/testsettings.py @@ -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