Merge branch 'develop' into patch-1

This commit is contained in:
Robert Mader 2017-08-16 15:06:04 +02:00 committed by GitHub
commit f4aa5adea9

View File

@ -319,7 +319,7 @@ function into ``__salt__`` that's actually a MagicMock instance.
def show_patch(self):
with patch.dict(my_module.__salt__,
{'function.to_replace': MagicMock()}:
{'function.to_replace': MagicMock()}):
# From this scope, carry on with testing, with a modified __salt__!