allow management of 2 types of SCM inventory sources

This commit is contained in:
AlanCoding
2017-04-30 10:05:35 -04:00
parent 84b8dcece0
commit 8d2598beee
8 changed files with 184 additions and 35 deletions

View File

@@ -17,6 +17,7 @@ class TestSCMUpdateFeatures:
scm_project=project,
source_path='inventory_file',
inventory=inventory,
update_on_project_update=True,
source='scm')
with mock.patch.object(inv_src.scm_project, 'update') as mck_update:
inv_src.save()