Skip to content

Commit

Permalink
Stabilize multiplatform tests
Browse files Browse the repository at this point in the history
  • Loading branch information
saville committed Feb 16, 2024
1 parent b914e91 commit ee2dfc7
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tests/test_multiplatform.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,17 @@ def _get_uuid():
yield uuid_mock


@pytest.fixture(autouse=True)
def fixture_init_config():
with patch(
"buildrunner.docker.multiplatform_image_builder.BuildRunnerConfig"
) as config_mock:
config_mock.get_instance.return_value.global_config.disable_multi_platform = (
False
)
yield config_mock


def _actual_images_match_expected(
built_image: BuiltImageInfo, expected_tags
) -> List[str]:
Expand Down

0 comments on commit ee2dfc7

Please sign in to comment.