mirror of
https://github.com/fastapi/fastapi.git
synced 2026-05-11 17:19:22 -04:00
📝 Update links to Pydantic docs to point to new website (#11328)
This commit is contained in:
@@ -8,7 +8,7 @@ client = TestClient(app)
|
||||
def test_redirect_status_code():
|
||||
response = client.get("/pydantic", follow_redirects=False)
|
||||
assert response.status_code == 302
|
||||
assert response.headers["location"] == "https://pydantic-docs.helpmanual.io/"
|
||||
assert response.headers["location"] == "https://docs.pydantic.dev/"
|
||||
|
||||
|
||||
def test_openapi_schema():
|
||||
|
||||
Reference in New Issue
Block a user