commit | 219796218a1bbf651328446f986a7c77bb2b5f3f | [log] [tgz] |
---|---|---|
author | Matthew Treinish <mtreinish@kortar.org> | Thu Oct 13 15:46:33 2016 -0400 |
committer | Matthew Treinish <mtreinish@kortar.org> | Thu Oct 13 15:46:33 2016 -0400 |
tree | a239e187af6c329c0ddb860b981b1ec77df220c9 | |
parent | 93e6a0370085b0488b8542a66f4adcbf11f4a390 [diff] |
Stop using subprocess for testr init in tempest init This commit switches the call to testr init from using subprocess to testr's python run_argv interface. (which is essentially just calling it via subprocess) The issue with using subprocess directly is that it assumes testr is in the PATH you're running from. But, in the case of using a venv this isn't always the case. Change-Id: I2bab70b0e9fb2ccdc340f48d95340ff7ccdc1364 Closes-Bug: #1633182