Skip to content

Commit 48aa000

Browse files
committed
Moving tests into their own directory with settings file. Removing the
(pointless) example app.
1 parent 997d622 commit 48aa000

File tree

9 files changed

+27
-63
lines changed

9 files changed

+27
-63
lines changed

example/example.db

-46 KB
Binary file not shown.

example/manage.py

Lines changed: 0 additions & 11 deletions
This file was deleted.

example/settings.py

Lines changed: 0 additions & 52 deletions
This file was deleted.

relationships/tests/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
from relationships.tests.tests import *
File renamed without changes.

relationships/tests/settings.py

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
DATABASE_ENGINE = 'sqlite3'
2+
3+
SITE_ID = 1
4+
5+
TEMPLATE_LOADERS = (
6+
'django.template.loaders.filesystem.load_template_source',
7+
'django.template.loaders.app_directories.load_template_source',
8+
)
9+
10+
MIDDLEWARE_CLASSES = (
11+
'django.middleware.common.CommonMiddleware',
12+
'django.contrib.sessions.middleware.SessionMiddleware',
13+
'django.contrib.auth.middleware.AuthenticationMiddleware',
14+
)
15+
16+
ROOT_URLCONF = 'relationships.tests.urls'
17+
18+
INSTALLED_APPS = (
19+
'django.contrib.admin',
20+
'django.contrib.auth',
21+
'django.contrib.contenttypes',
22+
'django.contrib.sessions',
23+
'django.contrib.sites',
24+
'relationships',
25+
'relationships.tests',
26+
)
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)