mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-06 13:30:12 +03:00
Update runtests.py
This commit is contained in:
parent
63a6d6b778
commit
09c2d7fe38
|
@ -43,7 +43,6 @@ def main():
|
||||||
test_module_name = 'rest_framework.tests'
|
test_module_name = 'rest_framework.tests'
|
||||||
if django.VERSION[0] == 1 and django.VERSION[1] < 6:
|
if django.VERSION[0] == 1 and django.VERSION[1] < 6:
|
||||||
test_module_name = 'tests'
|
test_module_name = 'tests'
|
||||||
print test_module_name + test_case
|
|
||||||
failures = test_runner.run_tests([test_module_name + test_case])
|
failures = test_runner.run_tests([test_module_name + test_case])
|
||||||
|
|
||||||
sys.exit(failures)
|
sys.exit(failures)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user