mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Merge branch 'develop' into patch-1
This commit is contained in:
commit
f4aa5adea9
@ -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__!
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user