Make integrations pass even with manual SCM type

This commit is contained in:
beeankha
2019-11-25 15:16:41 -05:00
parent bdd63f36a8
commit 3ed5d6ec65

View File

@@ -225,7 +225,7 @@ def main():
custom_virtualenv=custom_virtualenv,
create_on_missing=True)
json_output['id'] = result['id']
if wait:
if wait and scm_type != '':
project.wait(pk=None, parent_pk=result['id'])
elif state == 'absent':
result = project.delete(name=name)