diff --git a/tests/test_tutorial/test_custom_docs_ui/test_tutorial002.py b/tests/test_tutorial/test_custom_docs_ui/test_tutorial002.py index c6e8083e8..6b547c062 100644 --- a/tests/test_tutorial/test_custom_docs_ui/test_tutorial002.py +++ b/tests/test_tutorial/test_custom_docs_ui/test_tutorial002.py @@ -42,6 +42,7 @@ def client(params: Params, monkeypatch): monkeypatch.setenv("ROOT_PATH", params["app_root_path"]) from docs_src.custom_docs_ui import tutorial002 + importlib.reload(tutorial002) app = tutorial002.app