Skip to content
Snippets Groups Projects
Commit a2475ab6 authored by Matthew Webster's avatar Matthew Webster
Browse files

BF: 1st arg is outdir

parent eab4b1bd
No related branches found
No related tags found
1 merge request!47BF: feedsRun writing to test directory, not output directory
Pipeline #15664 skipped
...@@ -155,7 +155,7 @@ if __name__ == '__main__': ...@@ -155,7 +155,7 @@ if __name__ == '__main__':
result = 0 result = 0
for test in tests: for test in tests:
try: try:
os.chdir(sys.argv[2]) os.chdir(sys.argv[1])
test() test()
print(f'\nTest {test.__name__} PASSED') print(f'\nTest {test.__name__} PASSED')
except Exception as e: except Exception as e:
......
...@@ -78,5 +78,5 @@ def test_applywarp_uses_sqform_correctly(): ...@@ -78,5 +78,5 @@ def test_applywarp_uses_sqform_correctly():
if __name__ == '__main__': if __name__ == '__main__':
os.chdir(sys.argv[2]) os.chdir(sys.argv[1])
test_applywarp_uses_sqform_correctly() test_applywarp_uses_sqform_correctly()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment