From 3be004b3037864c245243e0dfc96dbd36fbfd78b Mon Sep 17 00:00:00 2001 From: Philipp Rich Date: Sat, 15 Aug 2026 21:30:21 +0400 Subject: [PATCH] fix(tests): robust Open WebUI startup check catching all httpx HTTPError exceptions --- conftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conftest.py b/conftest.py index 33cbdc3..f045d7f 100644 --- a/conftest.py +++ b/conftest.py @@ -38,7 +38,7 @@ def owui_url() -> str: r = httpx.get(f"{url}/api/auth", timeout=5.0) if r.status_code == 200: break - except (httpx.ConnectError, httpx.ReadError, httpx.TimeoutException): + except httpx.HTTPError: pass time.sleep(2) else: