Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

executable file 20 lines (15 sloc) 0.569 kB
#This file mainly exists to allow python setup.py test to work.
import os
import sys
os.environ['DJANGO_SETTINGS_MODULE'] = 'molly.conf.test_settings'
from django.test.utils import get_runner
from django.conf import settings
def runtests():
from south.management.commands import patch_for_test_db_setup
patch_for_test_db_setup()
test_runner = get_runner(settings)
test_runner = test_runner(interactive=True, verbosity=1, failfast=False)
failures = test_runner.run_tests([])
sys.exit(bool(failures))
if __name__ == '__main__':
runtests()
Jump to Line
Something went wrong with that request. Please try again.