Skip to content

Commit

Permalink
Fix errors in local tests
Browse files Browse the repository at this point in the history
  • Loading branch information
saville committed Nov 10, 2023
1 parent 03e9686 commit 601b2b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_multiplatform.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def test_start_local_registry_on_build():
registry_name = None
volume_name = None

with MultiplatformImageBuilder() as mp:
with MultiplatformImageBuilder(log=MagicMock()) as mp:
# Check that the registry is NOT running
assert mp._mp_registry_info is None
assert mp._local_registry_is_running is False
Expand Down Expand Up @@ -113,7 +113,7 @@ def test_start_local_registry_on_build():
platforms=['linux/arm64', 'linux/amd64'],
path=test_path,
file=f'{test_path}/Dockerfile',
do_multiprocessing=True)
do_multiprocessing=False)

registry_name = mp._mp_registry_info.name
assert first_registry_name == registry_name
Expand Down

0 comments on commit 601b2b3

Please sign in to comment.