Permalink
Browse files

helper file updates

  • Loading branch information...
1 parent f37595c commit e8a12050e8d30a2117fcd183f785cd8b1c06264d @jbalogh jbalogh committed Feb 19, 2010
No changes.
File renamed without changes.
@@ -0,0 +1,12 @@
+TEST_RUNNER = 'django_nose.runner.NoseTestSuiteRunner'
+
+DATABASES = {
+ 'default': {
+ 'NAME': 'test.db',
+ 'ENGINE': 'django.db.backends.sqlite3',
+ }
+}
+
+INSTALLED_APPS = (
+ 'django_nose',
+)
View
@@ -11,9 +11,11 @@
from fabric.contrib.project import rsync_project
NAME = os.path.basename(os.path.dirname(__file__))
+ROOT = os.path.abspath(os.path.dirname(__file__))
-os.environ['DJANGO_SETTINGS_MODULE'] = 'example-project.settings'
-os.environ['PYTHONPATH'] = os.path.abspath(os.path.dirname(__file__))
+os.environ['DJANGO_SETTINGS_MODULE'] = '%s.settings' % NAME
+os.environ['PYTHONPATH'] = os.pathsep.join([ROOT,
+ os.path.join(ROOT, 'examples')])
env.hosts = ['jbalogh.me']
@@ -26,7 +28,7 @@ def doc(kind='html'):
def test():
- local('django-admin.py test')
+ local('django-admin.py test -s')
def updoc():

0 comments on commit e8a1205

Please sign in to comment.