Skip to content

Commit

Permalink
tests: fix sdxl rec resolutions test skipping
Browse files Browse the repository at this point in the history
  • Loading branch information
tazlin committed Feb 23, 2024
1 parent 92bb2d2 commit 91c873d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions tests/test_horde_inference.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# test_horde.py

import pytest
from PIL import Image

from hordelib.horde import HordeLib
Expand Down Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 91c873d

Please sign in to comment.