diff --git a/doozer/tests/cli/test_gen_payload.py b/doozer/tests/cli/test_gen_payload.py index 57f395b17..bca3c45f6 100644 --- a/doozer/tests/cli/test_gen_payload.py +++ b/doozer/tests/cli/test_gen_payload.py @@ -735,8 +735,9 @@ async def test_create_multi_release_manifest_list(self, open_mock, exec_mock, mi os: linux """.strip()) + @patch("doozerlib.cli.release_gen_payload.what_is_in_master", return_value="4.19") @patch("doozerlib.cli.release_gen_payload.modify_and_replace_api_object") - async def test_apply_multi_imagestream_update(self, mar_mock): + async def test_apply_multi_imagestream_update(self, mar_mock, _): gpcli = flexmock(rgp_cli.GenPayloadCli(output_dir="/tmp", runtime=MagicMock(assembly_type=AssemblyTypes.STREAM))) # make MAR method do basically what it would, without writing all the files @@ -774,8 +775,9 @@ def contains(name: str): self.assertEqual(os.getenv('BUILD_URL', ''), new_tag_annotations['release.openshift.io/build-url']) self.assertIn('release.openshift.io/runtime-brew-event', new_tag_annotations) + @patch("doozerlib.cli.release_gen_payload.what_is_in_master", return_value="4.19") @patch("doozerlib.cli.release_gen_payload.modify_and_replace_api_object") - async def test_apply_multi_imagestream_update_retain_accepted(self, mar_mock): + async def test_apply_multi_imagestream_update_retain_accepted(self, mar_mock, _): gpcli = flexmock(rgp_cli.GenPayloadCli(output_dir="/tmp", runtime=MagicMock(assembly_type=AssemblyTypes.STREAM))) # make MAR method do basically what it would, without writing all the files