From ff7979e6a2b1e4de63f0a88a8928bf5d292c2d01 Mon Sep 17 00:00:00 2001 From: huchenlei Date: Sun, 5 May 2024 22:21:05 -0400 Subject: [PATCH] adjust test --- tests/web_api/generation_test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/web_api/generation_test.py b/tests/web_api/generation_test.py index 28bf56716..b3968a493 100644 --- a/tests/web_api/generation_test.py +++ b/tests/web_api/generation_test.py @@ -87,12 +87,12 @@ def test_invalid_param(gen_type, param_name): f"test_invalid_param{(gen_type, param_name)}", gen_type, payload_overrides={}, - unit_overrides={param_name: -1}, + unit_overrides={param_name: -100}, input_image=girl_img, ).exec() assert log_context.is_in_console_logs( [ - f"[canny.{param_name}] Invalid value(-1), using default value", + f"[canny.{param_name}] Invalid value(-100), using default value", ] )