mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
adapt old tests to changed function
This commit is contained in:
parent
cebe1e6cf4
commit
9cc3b82c1a
1 changed files with 1 additions and 0 deletions
|
@ -1348,6 +1348,7 @@ class ZypperTestCase(TestCase, LoaderModuleMockMixin):
|
|||
# If config.get starts being used elsewhere, we'll need to write a
|
||||
# side_effect function.
|
||||
patches = {
|
||||
"cmd.run": MagicMock(return_value="vim: vi vim\npico: pico"),
|
||||
"cmd.run_all": MagicMock(return_value=cmd_out),
|
||||
"pkg_resource.parse_targets": MagicMock(return_value=parsed_targets),
|
||||
"pkg_resource.stringify": MagicMock(),
|
||||
|
|
Loading…
Add table
Reference in a new issue