Commit 39487e77 by Carl Meyer Committed by Alex Gaynor

cleanup

parent f0c82b6b
#!/usr/bin/env python
import sys
from os.path import dirname, abspath
import sys
from django.conf import settings as django_settings
from django.conf import settings
if not django_settings.configured:
django_settings.configure(
if not settings.configured:
settings.configure(
DATABASE_ENGINE='sqlite3',
INSTALLED_APPS=(
INSTALLED_APPS=[
'django.contrib.contenttypes',
'taggit',
'taggit.tests',
)
]
)
from django.test.simple import run_tests
def runtests(*test_args):
if not test_args:
test_args = ['tests']
parent = dirname(abspath(__file__))
sys.path.insert(0, parent)
from django.test.simple import run_tests
failures = run_tests(test_args, verbosity=1, interactive=True)
sys.exit(failures)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment