Skip to content

Commit 6daea21

Browse files
committed
Fix more tests
1 parent df01ef1 commit 6daea21

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/tests/http/test_graphql_over_http_spec.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -160,18 +160,14 @@ async def test_9c48(http_client):
160160
assert 400 <= response.status_code <= 499
161161

162162

163-
@pytest.mark.xfail(
164-
reason="OPTIONAL - currently supported by Channels, Chalice, Django, and Sanic",
165-
raises=AssertionError,
166-
)
167163
async def test_9abe(http_client):
168164
"""
169165
MAY respond with 4xx status code if content-type is not supplied on POST requests
170166
"""
171167
response = await http_client.post(
172168
url="/graphql",
173169
headers={},
174-
json={"query": "{ __typename }"},
170+
data=b'{"query": "{ __typename }"}',
175171
)
176172
assert 400 <= response.status_code <= 499
177173

0 commit comments

Comments
 (0)