Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 38 lines (32 sloc) 1.054 kb
bbc51d7f »
2010-12-22 initial repo structure
1 #!/usr/bin/env python
2 import sys
3 from os.path import dirname, abspath
4
5 from django.conf import settings
6
7 if not settings.configured:
8 settings.configure(
9 DATABASE_ENGINE='sqlite3',
10 # HACK: this fixes our threaded runserver remote tests
11 # TEST_DATABASE_NAME='test_sentry',
12 INSTALLED_APPS=[
13 'django.contrib.auth',
14 'django.contrib.admin',
15 'django.contrib.sessions',
16 'django.contrib.sites',
17
18 # Included to fix Disqus' test Django which solves IntegrityMessage case
19 'django.contrib.contenttypes',
20 'nexus',
21 'nexus_celery'
22 ],
23 ROOT_URLCONF='',
24 DEBUG=False,
25 )
26
27 from django.test.simple import run_tests
28
29 def runtests(*test_args):
30 if not test_args:
31 test_args = ['nexus_celery']
32 parent = dirname(abspath(__file__))
33 sys.path.insert(0, parent)
34 failures = run_tests(test_args, verbosity=1, interactive=True)
35 sys.exit(failures)
36
37 if __name__ == '__main__':
38 runtests(*sys.argv[1:])
Something went wrong with that request. Please try again.