fnp
/
django-pagination.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix
[django-pagination.git]
/
fnp_django_pagination
/
tests
/
runner.py
diff --git
a/fnp_django_pagination/tests/runner.py
b/fnp_django_pagination/tests/runner.py
index
843a5a5
..
4604e6b
100755
(executable)
--- a/
fnp_django_pagination/tests/runner.py
+++ b/
fnp_django_pagination/tests/runner.py
@@
-9,11
+9,7
@@
from django.core.management import call_command
def runtests():
os.environ['DJANGO_SETTINGS_MODULE'] = 'fnp_django_pagination.tests.settings'
def runtests():
os.environ['DJANGO_SETTINGS_MODULE'] = 'fnp_django_pagination.tests.settings'
-
- try:
- django.setup()
- except AttributeError: # for Django 1.6 compatible
- pass
+ django.setup()
failures = call_command('test', 'fnp_django_pagination')
sys.exit(bool(failures))
failures = call_command('test', 'fnp_django_pagination')
sys.exit(bool(failures))