Skip to content

Commit 20689e2

Browse files
committed
refactor
1 parent 5c64828 commit 20689e2

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

packages/pytest-simcore/src/pytest_simcore/docker_registry.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
from typing import Any
1313

1414
import aiodocker
15-
import docker
1615
import jsonschema
1716
import pytest
1817
import tenacity
@@ -26,7 +25,9 @@
2625

2726

2827
@pytest.fixture(scope="session")
29-
def docker_registry(keep_docker_up: bool) -> Iterator[str]:
28+
def docker_registry(
29+
async_docker_client: aiodocker.Docker, keep_docker_up: bool
30+
) -> Iterator[str]:
3031
"""sets up and runs a docker registry container locally and returns its URL"""
3132
# run the registry outside of the stack
3233
docker_client = docker.from_env()

0 commit comments

Comments
 (0)