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 bd02c1ebe5
commit 6f9105c752

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