Skip to content

Commit

Permalink
Respect DOCKER_HOST env variable (and others along with it)
Browse files Browse the repository at this point in the history
  • Loading branch information
WouldYouKindly committed Jan 17, 2022
1 parent f1dd38b commit 5ed12ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pytest_hoverfly/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def get_container(
ports: t.Optional[t.Dict[str, t.Optional[t.List[t.Dict[str, int]]]]] = None,
image: str = IMAGE,
timeout: float = 3.0,
docker_factory: t.Callable[[], DockerClient] = DockerClient,
docker_factory: t.Callable[[], DockerClient] = DockerClient.from_env,
create_container_kwargs: t.Optional[t.Mapping[str, t.Any]] = None,
):
external_service = Hoverfly.try_from_env(os.environ)
Expand Down

0 comments on commit 5ed12ec

Please sign in to comment.