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
f0c82b6b
authored
Jun 04, 2010
by
Carl Meyer
Committed by
Alex Gaynor
Jun 04, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
"python setup.py test" works
parent
5d556112
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
30 additions
and
8 deletions
+30
-8
runtests.py
+29
-0
setup.py
+1
-0
taggit/tests/settings.py
+0
-8
No files found.
runtests.py
0 → 100755
View file @
f0c82b6b
#!/usr/bin/env python
from
os.path
import
dirname
,
abspath
import
sys
from
django.conf
import
settings
as
django_settings
if
not
django_settings
.
configured
:
django_settings
.
configure
(
DATABASE_ENGINE
=
'sqlite3'
,
INSTALLED_APPS
=
(
'django.contrib.contenttypes'
,
'taggit'
,
'taggit.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
)
if
__name__
==
'__main__'
:
runtests
(
*
sys
.
argv
[
1
:])
setup.py
View file @
f0c82b6b
...
@@ -26,5 +26,6 @@ setup(
...
@@ -26,5 +26,6 @@ setup(
'Programming Language :: Python'
,
'Programming Language :: Python'
,
'Framework :: Django'
,
'Framework :: Django'
,
],
],
test_suite
=
'runtests.runtests'
)
)
taggit/tests/settings.py
deleted
100644 → 0
View file @
5d556112
DATABASE_ENGINE
=
'sqlite3'
INSTALLED_APPS
=
[
'django.contrib.contenttypes'
,
'taggit'
,
'taggit.tests'
,
]
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