adapt old tests to changed function

This commit is contained in:
Michael Calmer 2023-01-12 18:02:40 +01:00 committed by Daniel Wozniak
parent cebe1e6cf4
commit 9cc3b82c1a

View file

@ -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(),