Skip to content
This repository has been archived by the owner on Oct 13, 2023. It is now read-only.

Commit

Permalink
Fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
vfreex committed Sep 21, 2022
1 parent c60bd20 commit 9979876
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/cli/test_gen_payload.py
Expand Up @@ -593,7 +593,7 @@ def test_create_multi_release_manifest_list(self, open_mock, exec_mock, fmlsha_m

@patch("doozerlib.cli.release_gen_payload.modify_and_replace_api_object")
def test_apply_multi_imagestream_update(self, mar_mock):
gpcli = flexmock(rgp_cli.GenPayloadCli(output_dir="/tmp"))
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
mar_mock.side_effect = lambda apiobj, func, *_: func(apiobj)
Expand Down

0 comments on commit 9979876

Please sign in to comment.