Commit 89e32f7f by Alex Gaynor

Run the suggest testscase by default.

parent 43cf245d
...@@ -11,6 +11,7 @@ if not settings.configured: ...@@ -11,6 +11,7 @@ if not settings.configured:
INSTALLED_APPS=[ INSTALLED_APPS=[
'django.contrib.contenttypes', 'django.contrib.contenttypes',
'taggit', 'taggit',
'taggit.contrib.suggest',
'taggit.tests', 'taggit.tests',
] ]
) )
...@@ -20,7 +21,7 @@ from django.test.simple import run_tests ...@@ -20,7 +21,7 @@ from django.test.simple import run_tests
def runtests(*test_args): def runtests(*test_args):
if not test_args: if not test_args:
test_args = ['tests'] test_args = ['tests', 'suggest']
parent = dirname(abspath(__file__)) parent = dirname(abspath(__file__))
sys.path.insert(0, parent) sys.path.insert(0, parent)
failures = run_tests(test_args, verbosity=1, interactive=True) failures = run_tests(test_args, verbosity=1, interactive=True)
......
from taggit.contrib.suggest.tests.tests import SuggestCase
DATABASE_ENGINE = 'sqlite3'
INSTALLED_APPS = [
'django.contrib.contenttypes',
'taggit',
'taggit.tests',
'taggit.contrib.suggest',
]
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