Merge pull request #52 from AlanCoding/my_bad

fix tests
This commit is contained in:
Alan Rominger 2017-07-25 15:47:39 -04:00 committed by GitHub
commit ac11dcac05

View File

@ -20,7 +20,7 @@ class TestSCMUpdateFeatures:
inventory=inventory,
update_on_project_update=True,
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()
mck_update.assert_called_once_with()