Browse Source

Ignore unreacheable code

pull/11160/head
Ricardo Madriz 1 year ago
parent
commit
168184c265
  1. 6
      tests/test_root_path_redirects.py

6
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)

Loading…
Cancel
Save