We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 50cbee7 + 708bed3 commit a1d2d98Copy full SHA for a1d2d98
src/webapp/routers/institutions_test.py
@@ -249,9 +249,8 @@ def test_read_inst_by_name_case_insensitive(client: TestClient) -> None:
249
for name_variant in test_cases:
250
response = client.get(f"/institutions/name/{name_variant}")
251
assert response.status_code == 200, f"Failed for variant: {name_variant}"
252
- assert response.json() == INSTITUTION_OBJ, (
253
- f"Response mismatch for variant: {name_variant}"
254
- )
+ data = response.json()
+ assert data == INSTITUTION_OBJ, f"Response mismatch for variant: {name_variant}"
255
256
257
def test_read_inst_by_name_case_insensitive_lowercase(
0 commit comments