Skip to content

Commit 98b1e69

Browse files
committed
Adding in all tests to the list, including argv[1:]
1 parent 05da48a commit 98b1e69

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,7 @@ def run(extra_args):
4040
# env=env)
4141

4242
argv = sys.argv + extra_args
43-
for test_module in default_test_modules:
44-
pytest.main(test_module)
43+
pytest.main(['--pyargs'] + argv[1:] + default_test_modules)
4544

4645
if __name__ == '__main__':
4746
extra_args = []

0 commit comments

Comments
 (0)