add debugging code

This commit is contained in:
Joe Rickerby
2020-07-12 12:39:33 +01:00
parent e098e1450d
commit 9f71900637
2 changed files with 5 additions and 1 deletions
+2 -1
View File
@@ -17,4 +17,5 @@ if __name__ == '__main__':
subprocess.check_call(unit_test_args)
# 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'])
+3
View File
@@ -70,4 +70,7 @@ def test_overridden_path(tmp_path, capfd):
assert len(os.listdir(output_dir)) == 0
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