mirror of
https://gitea.mueller.network/extern/django-helpdesk.git
synced 2024-11-23 08:23:54 +01:00
Merge branch 'master' into django-1.8
* master: removed unneccessary lines from quicktest.py and added source
This commit is contained in:
commit
0311331181
@ -93,6 +93,9 @@ class QuickDjangoTest(object):
|
|||||||
STATIC_URL = '/static/'
|
STATIC_URL = '/static/'
|
||||||
)
|
)
|
||||||
|
|
||||||
|
# compatibility with django 1.8 downwards
|
||||||
|
# see: http://stackoverflow.com/questions/3841725/how-to-launch-tests-for-django-reusable-app
|
||||||
|
|
||||||
try:
|
try:
|
||||||
# Django <= 1.8
|
# Django <= 1.8
|
||||||
from django.test.simple import DjangoTestSuiteRunner
|
from django.test.simple import DjangoTestSuiteRunner
|
||||||
@ -109,11 +112,6 @@ class QuickDjangoTest(object):
|
|||||||
if failures:
|
if failures:
|
||||||
sys.exit(failures)
|
sys.exit(failures)
|
||||||
|
|
||||||
# from django.test.simple import DjangoTestSuiteRunner
|
|
||||||
# failures = DjangoTestSuiteRunner().run_tests(self.apps, verbosity=1)
|
|
||||||
# if failures:
|
|
||||||
# sys.exit(failures)
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
"""
|
"""
|
||||||
What do when the user hits this file from the shell.
|
What do when the user hits this file from the shell.
|
||||||
|
Loading…
Reference in New Issue
Block a user