mirror of
https://github.com/ansible/awx.git
synced 2026-03-19 09:57:33 -02:30
@@ -20,7 +20,7 @@ class TestSCMUpdateFeatures:
|
|||||||
inventory=inventory,
|
inventory=inventory,
|
||||||
update_on_project_update=True,
|
update_on_project_update=True,
|
||||||
source='scm')
|
source='scm')
|
||||||
with mock.patch.object(inv_src.source_project, 'update') as mck_update:
|
with mock.patch.object(inv_src, 'update') as mck_update:
|
||||||
inv_src.save()
|
inv_src.save()
|
||||||
mck_update.assert_called_once_with()
|
mck_update.assert_called_once_with()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user