add debugging code
This commit is contained in:
+2
-1
@@ -17,4 +17,5 @@ if __name__ == '__main__':
|
|||||||
subprocess.check_call(unit_test_args)
|
subprocess.check_call(unit_test_args)
|
||||||
|
|
||||||
# run the integration tests
|
# run the integration tests
|
||||||
subprocess.check_call([sys.executable, '-m', 'pytest', '-x', '--durations', '0', 'test'])
|
# TODO: REMOVE 'overridden'
|
||||||
|
subprocess.check_call([sys.executable, '-m', 'pytest', '-x', '--durations', '0', 'test', '-k', 'overridden'])
|
||||||
|
|||||||
@@ -70,4 +70,7 @@ def test_overridden_path(tmp_path, capfd):
|
|||||||
|
|
||||||
assert len(os.listdir(output_dir)) == 0
|
assert len(os.listdir(output_dir)) == 0
|
||||||
captured = capfd.readouterr()
|
captured = capfd.readouterr()
|
||||||
|
# TODO: REMOVE THIS PRINT
|
||||||
|
print('captured.out', captured.out)
|
||||||
|
print('captured.err', captured.err)
|
||||||
assert "python available on PATH doesn't match our installed instance" in captured.err
|
assert "python available on PATH doesn't match our installed instance" in captured.err
|
||||||
|
|||||||
Reference in New Issue
Block a user