File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ async def test_item_handler(test_client):
11
11
12
12
assert response .status_code == 200
13
13
assert response .headers ["Content-Type" ] == "application/json"
14
- assert response .headers ["Content-Length" ] == "405"
15
14
assert response_data ["id" ] == test_data .id
16
15
assert response_data ["name" ] == test_data .name
17
16
assert response_data ["description" ] == test_data .description
@@ -39,7 +38,6 @@ async def test_similar_handler(test_client):
39
38
40
39
assert response .status_code == 200
41
40
assert response .headers ["Content-Type" ] == "application/json"
42
- assert response .headers ["Content-Length" ] == "428"
43
41
assert response .json () == [
44
42
{
45
43
"id" : 71 ,
@@ -87,7 +85,6 @@ async def test_search_handler(test_client):
87
85
88
86
assert response .status_code == 200
89
87
assert response .headers ["Content-Type" ] == "application/json"
90
- assert response .headers ["Content-Length" ] == "407"
91
88
assert response_data ["id" ] == test_data .id
92
89
assert response_data ["name" ] == test_data .name
93
90
assert response_data ["description" ] == test_data .description
You can’t perform that action at this time.
0 commit comments