File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 44"""
55
66import pytest
7- import docker
87import io
98
109from labgrid import Environment
@@ -161,6 +160,7 @@ def test_docker_with_daemon(command):
161160
162161@pytest .fixture
163162def build_image ():
163+ import docker
164164 client = docker .from_env ()
165165 dockerfile_content = """
166166 FROM rastasheep/ubuntu-sshd:16.04
@@ -198,6 +198,7 @@ def test_docker_without_daemon(docker_env, mocker):
198198 DockerManager and DockerStrategy without using an actual
199199 docker daemon, real sockets or system time"""
200200
201+ import docker
201202 # Target::update_resources() and Target::await_resources use
202203 # time.monotonic() and time.sleep() to control when to search
203204 # for resources. Avoid time delays and make running from cmd-line
You can’t perform that action at this time.
0 commit comments