mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 14:01:15 +02:00
Changed errors to new type, was causing warnings
This commit is contained in:
1 parent
69eafda777
commit
4a45a68703
5 files changed
+13
-13
No files matched your search
@@ -133,7 +133,7 @@ class TestTemplateRoutes:
|
||||
"template_type": "invalid_template_type"}
|
||||
|
||||
response = await client.post(app.url_path_for("create_template"), json=params)
|
||||
assert response.status_code == status.HTTP_422_UNPROCESSABLE_ENTITY
|
||||
assert response.status_code == status.HTTP_422_UNPROCESSABLE_CONTENT
|
||||
|
||||
async def test_template_update(self, app: FastAPI, client: AsyncClient) -> None:
|
||||
|
||||
|
||||
Reference in new issue
Block a user