Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE
/
django-taggit
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Wiki
Members
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
39487e77
authored
Jun 04, 2010
by
Carl Meyer
Committed by
Alex Gaynor
Jun 04, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleanup
parent
f0c82b6b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
7 deletions
+8
-7
runtests.py
+8
-7
No files found.
runtests.py
View file @
39487e77
#!/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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment