We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d3220d9 + 272c625 commit 46f6320Copy full SHA for 46f6320
tcadmin/check.py
@@ -21,5 +21,4 @@ def run_checks(pytest_options):
21
if not os.path.exists(check_path):
22
print("No checks defined; path {} does not exist".format(check_path))
23
return False
24
- os.chdir(check_path)
25
- return 0 == pytest.main(list(pytest_options))
+ return 0 == pytest.main([check_path] + list(pytest_options))
0 commit comments