From 91c87e4d85d9f9222c315733401d65ad12def043 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Thu, 23 Jan 2025 17:53:47 -0600 Subject: [PATCH] tests: fix test per uvicorn `root_path` default --- tests/cli/test_webapp.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/cli/test_webapp.py b/tests/cli/test_webapp.py index eaa1f6a..2688912 100644 --- a/tests/cli/test_webapp.py +++ b/tests/cli/test_webapp.py @@ -89,7 +89,7 @@ app.spec = wuttaweb.app:make_wsgi_app reload_dirs=None, factory=False, interface='auto', - root_path=None) + root_path='') # with reload uvicorn.run.reset_mock() @@ -103,4 +103,4 @@ app.spec = wuttaweb.app:make_wsgi_app reload_dirs=None, factory=False, interface='auto', - root_path=None) + root_path='')