Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions tests/python_tests/samples/test_benchmark_image_gen.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import os
import pytest
import sys
import subprocess # nosec B404

from conftest import SAMPLES_PY_DIR, SAMPLES_CPP_DIR, download_test_content
from test_utils import run_sample
Expand All @@ -27,7 +26,6 @@ class TestBenchmarkImageGen:
pytest.param("images/image.png", "mask_image.png"),
], indirect=["download_test_content", "download_mask_image"],
)
@pytest.mark.xfail(reason="Failed to open model_index.json. Ticket 171245", raises=subprocess.CalledProcessError)
def test_sample_benchmark_image_gen(self, download_model, pipeline_type, prompt, download_test_content, download_mask_image):
inference_steps = "3"
# Run C++ benchmark sample
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import os
import pytest
import sys
import subprocess # nosec B404

from conftest import SAMPLES_PY_DIR, SAMPLES_CPP_DIR
from test_utils import run_sample
Expand All @@ -19,7 +18,6 @@ class TestHeterogeneousStableDiffusion:
],
indirect=["download_model"],
)
@pytest.mark.xfail(reason="Failed to open model_index.json. Ticket 171245", raises=subprocess.CalledProcessError)
def test_sample_heterogeneous_stable_diffusion(self, download_model, prompt):
# Run Python sample
py_script = os.path.join(SAMPLES_PY_DIR, "image_generation/heterogeneous_stable_diffusion.py")
Expand Down
3 changes: 0 additions & 3 deletions tests/python_tests/samples/test_image2image.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import os
import pytest
import sys
import subprocess # nosec B404

from conftest import SAMPLES_PY_DIR, SAMPLES_CPP_DIR
from test_utils import run_sample
Expand All @@ -20,7 +19,6 @@ class TestImage2Image:
indirect=["download_model"],
)
@pytest.mark.parametrize("download_test_content", ["images/image.png"], indirect=True)
@pytest.mark.xfail(reason="Failed to open model_index.json. Ticket 171245", raises=subprocess.CalledProcessError)
def test_sample_image2image(self, download_model, prompt, download_test_content):
# Run Python sample
py_script = os.path.join(SAMPLES_PY_DIR, "image_generation/image2image.py")
Expand All @@ -46,7 +44,6 @@ def test_sample_image2image(self, download_model, prompt, download_test_content)
indirect=["download_model"],
)
@pytest.mark.parametrize("download_test_content", ["images/image.png"], indirect=True)
@pytest.mark.xfail(reason="Failed to open model_index.json. Ticket 171245", raises=subprocess.CalledProcessError)
def test_sample_image2image_concurrency(self, download_model, prompts, download_test_content):
# Run C++ sample
cpp_sample = os.path.join(SAMPLES_CPP_DIR, 'image2image_concurrency')
Expand Down
2 changes: 0 additions & 2 deletions tests/python_tests/samples/test_inpainting.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import os
import pytest
import sys
import subprocess # nosec B404

from conftest import SAMPLES_PY_DIR, SAMPLES_CPP_DIR, download_test_content
from test_utils import run_sample
Expand All @@ -28,7 +27,6 @@ class TestInpainting:
],
indirect=["download_test_content", "download_mask_image"],
)
@pytest.mark.xfail(reason="Failed to open model_index.json. Ticket 171245", raises=subprocess.CalledProcessError)
def test_sample_inpainting(self, download_model, prompt, download_test_content, download_mask_image):
# Run Python sample
py_script = os.path.join(SAMPLES_PY_DIR, "image_generation/inpainting.py")
Expand Down