We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01c9462 commit d907c52Copy full SHA for d907c52
tests/test_api/test_model_wo_id.py
@@ -4,8 +4,6 @@
4
Check cases when model is w/o `id` field
5
"""
6
7
-from typing import Any
8
-
9
from fastapi import FastAPI
10
from httpx import AsyncClient
11
from starlette import status
@@ -45,10 +43,6 @@ async def test_get_age_rating_list(
45
43
"jsonapi": {"version": "1.0"},
46
44
}
47
assert response_data == expected_data
48
- # checks that all the ids are the names
49
- entities: list[dict[str, Any]] = response_data["data"]
50
- for entity in entities:
51
- assert entity["id"] == entity["attributes"]["name"]
52
53
54
async def test_create_with_related_age_rating(
0 commit comments