From 5fb32f1c4fb4d9339b1258a0131b8b6367ccd325 Mon Sep 17 00:00:00 2001 From: Tyrel Souza Date: Tue, 8 Sep 2015 12:50:03 -0500 Subject: [PATCH] Added nose --- bikemap/settings.py | 6 ++++++ requirements.txt | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/bikemap/settings.py b/bikemap/settings.py index 7a83ba7..2fdd549 100644 --- a/bikemap/settings.py +++ b/bikemap/settings.py @@ -38,11 +38,15 @@ INSTALLED_APPS = ( 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.gis', + 'django_nose', + 'django_extensions', 'home', 'tracking', ) + + MIDDLEWARE_CLASSES = ( 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', @@ -106,3 +110,5 @@ USE_TZ = True # https://docs.djangoproject.com/en/1.8/howto/static-files/ STATIC_URL = '/static/' + +TEST_RUNNER = 'django_nose.NoseTestSuiteRunner' diff --git a/requirements.txt b/requirements.txt index 48147f9..e1596cb 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,5 @@ Django==1.8.4 +django-nose django-extensions coverage -xmltodict \ No newline at end of file +xmltodict