Simplify conftest

This commit is contained in:
Ayaz Salikhov
2021-06-26 15:07:40 +03:00
parent 856577b35d
commit c66273974f

View File

@@ -33,10 +33,10 @@ def docker_client():
@pytest.fixture(scope='session') @pytest.fixture(scope='session')
def image_name(): def image_name():
"""Image name to test""" """Image name to test"""
return os.getenv('TEST_IMAGE', 'jupyter/base-notebook') return os.getenv('TEST_IMAGE')
class TrackedContainer(object): class TrackedContainer:
"""Wrapper that collects docker container configuration and delays """Wrapper that collects docker container configuration and delays
container creation/execution. container creation/execution.