From 168184c26560d018421a0ce84e786a9912c8aee1 Mon Sep 17 00:00:00 2001 From: Ricardo Madriz Date: Sun, 18 Feb 2024 14:46:22 -0600 Subject: [PATCH] Ignore unreacheable code --- tests/test_root_path_redirects.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_root_path_redirects.py b/tests/test_root_path_redirects.py index 0542f39f0..150693b34 100644 --- a/tests/test_root_path_redirects.py +++ b/tests/test_root_path_redirects.py @@ -8,7 +8,7 @@ def test_redirects_without_root_path(): @router.get("/hello/") def hello_page() -> str: - return "Hello, World!" + return "Hello, World!" # pragma: nocover app.include_router(router) @@ -25,7 +25,7 @@ def test_redirects_with_root_path(): @router.get("/hello/") def hello_page() -> str: - return "Hello, World!" + return "Hello, World!" # pragma: nocover app.include_router(router) @@ -42,7 +42,7 @@ def test_invalid_combination_of_root_path(): @router.get("/hello/") def hello_page() -> str: - return "Hello, World!" + return "Hello, World!" # pragma: nocover app.include_router(router)