mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-07-27 08:29:59 +03:00
parent
a0083f7f98
commit
fe16d74819
|
@ -45,5 +45,7 @@ if __name__ == "__main__":
|
||||||
# `runtests.py TestCase [flags]`
|
# `runtests.py TestCase [flags]`
|
||||||
# `runtests.py test_function [flags]`
|
# `runtests.py test_function [flags]`
|
||||||
pytest_args = ['tests', '-k', pytest_args[0]] + pytest_args[1:]
|
pytest_args = ['tests', '-k', pytest_args[0]] + pytest_args[1:]
|
||||||
|
else:
|
||||||
|
pytest_args = []
|
||||||
|
|
||||||
sys.exit(pytest.main(pytest_args))
|
sys.exit(pytest.main(pytest_args))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user