mirror of
https://github.com/ansible/awx.git
synced 2026-03-05 10:41:05 -03:30
Only try an ID lookup if we can convert the field name_or_id to an integer
Fix linting issues, update tower_project unit test
This commit is contained in:
committed by
beeankha
parent
6591efc160
commit
0eef67713f
@@ -13,7 +13,8 @@ def test_create_project(run_module, admin_user, organization):
|
||||
organization=organization.name,
|
||||
scm_type='git',
|
||||
scm_url='https://foo.invalid',
|
||||
wait=False
|
||||
wait=False,
|
||||
scm_update_cache_timeout=5
|
||||
), admin_user)
|
||||
warning = ['scm_update_cache_timeout will be ignored since scm_update_on_launch was not set to true']
|
||||
assert result.pop('changed', None), result
|
||||
|
||||
Reference in New Issue
Block a user