Skip to content

Commit 1edd047

Browse files
committed
fix fixture
1 parent 9e4458b commit 1edd047

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

tests/python_tests/conftest.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,3 +139,5 @@ def download_test_content(request):
139139
if os.path.exists(file_path):
140140
logger.info(f"Removing test content: {file_path}")
141141
os.remove(file_path)
142+
143+
download_mask_image = download_test_content

tests/python_tests/samples/conftest.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -186,10 +186,6 @@ def download_model(request):
186186
logger.info(f"Removing converted model: {model_cache}")
187187
shutil.rmtree(model_cache)
188188

189-
@pytest.fixture
190-
def download_mask_image(request):
191-
return request.getfixturevalue("download_test_content")
192-
193189
@pytest.fixture(scope="session")
194190
def generate_test_content(request):
195191
"""Generate an image of lines and return the file path."""

0 commit comments

Comments
 (0)