From cdc0e4346275c03a4cbf93fbb2a5d3f5f24f263d Mon Sep 17 00:00:00 2001 From: tazlin Date: Thu, 22 Feb 2024 19:02:19 -0500 Subject: [PATCH] tests: fix sdxl rec resolutions test skipping --- tests/test_horde_inference.py | 2 ++ tox.ini | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/test_horde_inference.py b/tests/test_horde_inference.py index e30d4009..7e0c5e7e 100644 --- a/tests/test_horde_inference.py +++ b/tests/test_horde_inference.py @@ -1,5 +1,6 @@ # test_horde.py +import pytest from PIL import Image from hordelib.horde import HordeLib @@ -129,6 +130,7 @@ def test_sdxl_text_to_image( pil_image, ) + @pytest.mark.skip(reason="This test is too slow to run on every test run") def test_sdxl_text_to_image_recommended_resolutions( self, hordelib_instance: HordeLib, diff --git a/tox.ini b/tox.ini index b00b0d03..15a0309d 100644 --- a/tox.ini +++ b/tox.ini @@ -87,4 +87,4 @@ deps = -r requirements.txt commands = pytest -x tests/meta/ -k test_no_initialise_comfy_horde - pytest -x tests {posargs} --cov --ignore=tests/meta -k "not test_sdxl_text_to_image_recommended_resolutions" --durations=20 + pytest -x tests {posargs} --cov --ignore=tests/meta --durations=20