Download:
child 50:8194291e98bc
parent 48:9b37d0f08f1c
49:82badf3033e4
Anton Shestakov <av6@dwimlabs.net>, Sun, 19 Jun 2016 23:44:42 +0800
tests: pass extra arguments given to run-tests.py into pytest.main()

1 файлов изменено, 3 вставок(+), 1 удалений(-) [+]
run-tests.py file | annotate | diff | comparison | revisions
--- a/run-tests.py Sun Jun 19 22:04:57 2016 +0800
+++ b/run-tests.py Sun Jun 19 23:44:42 2016 +0800
@@ -1,9 +1,11 @@
#!/usr/bin/env python
+import sys
+
import pytest
def main():
- pytest.main(['tests'])
+ pytest.main(['tests'] + sys.argv[1:])
if __name__ == '__main__':