diff --git a/tests/test_tags.py b/tests/test_tags.py index 3c5993ff3..e5471f32c 100644 --- a/tests/test_tags.py +++ b/tests/test_tags.py @@ -6,6 +6,7 @@ def test_string_is_invalid_in_router_tags(): with pytest.raises(TypeError): APIRouter(tags="test") + def test_string_is_invalid_in_router_route_tags(): router = APIRouter() @@ -24,4 +25,4 @@ def test_string_is_invalid_in_include_router_tags(): ... with pytest.raises(TypeError): - app.include_router(router, prefix="/test", tags="test") \ No newline at end of file + app.include_router(router, prefix="/test", tags="test")