Use same python interpreter for running pytest

This commit is contained in:
Joe Rickerby
2017-09-07 21:59:04 +01:00
parent 510a6ce84a
commit 0cd8228db1
+1 -1
View File
@@ -10,7 +10,7 @@ if __name__ == '__main__':
### run the unit tests
subprocess.check_call(['python', '-m', 'pytest', 'unit_test'])
subprocess.check_call([sys.executable, '-m', 'pytest', 'unit_test'])
### run the integration tests