From 18f3ebcb539926dfeae690649edea2890b9fbce8 Mon Sep 17 00:00:00 2001 From: Ahmad Nofal Date: Tue, 12 Sep 2023 11:00:20 +0400 Subject: [PATCH] removed unused junk code in test --- tests/test_request.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/tests/test_request.py b/tests/test_request.py index b17072e83..40d5dd5f3 100644 --- a/tests/test_request.py +++ b/tests/test_request.py @@ -151,8 +151,3 @@ def test_pydantic_config(path, json, expected_status, expected_response): response = client.post(path, json=json) assert response.json() == expected_response assert response.status_code == expected_status - - # test extra forbid on nested schema - response = client.post( - path, json={"name": "test", "metadata": {"extra_name": "xxx"}} - )