From c71fc6846e23ebb8ec3c7c5b13264b1f6b7f3245 Mon Sep 17 00:00:00 2001 From: tazlin Date: Sun, 23 Jun 2024 14:49:50 -0400 Subject: [PATCH] fix: give fake worker higher resolution --- tests/ai_horde_api/test_ai_worker_roundtrip_api_calls.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/ai_horde_api/test_ai_worker_roundtrip_api_calls.py b/tests/ai_horde_api/test_ai_worker_roundtrip_api_calls.py index d2509cf..8394161 100644 --- a/tests/ai_horde_api/test_ai_worker_roundtrip_api_calls.py +++ b/tests/ai_horde_api/test_ai_worker_roundtrip_api_calls.py @@ -53,7 +53,7 @@ async def fake_worker_checkin( ) -> None: assert image_gen_request.params is not None - effective_resolution = image_gen_request.params.width * image_gen_request.params.height + effective_resolution = (image_gen_request.params.width * image_gen_request.params.height) * 2 job_pop_request = ImageGenerateJobPopRequest( name="fake CI worker", @@ -83,7 +83,7 @@ async def fake_worker( ) -> None: assert image_gen_request.params is not None - effective_resolution = image_gen_request.params.width * image_gen_request.params.height + effective_resolution = (image_gen_request.params.width * image_gen_request.params.height) * 2 job_pop_request = ImageGenerateJobPopRequest( name="fake CI worker",