Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
sentrivana committed Sep 20, 2024
1 parent f1d467b commit 2ca480a
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions tests/integrations/django/test_basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -758,13 +758,9 @@ def data(self):
raise AttributeError

with patch("django.core.handlers.wsgi.WSGIRequest", MockRequest):
response = client.post(
client.post(
reverse("post_echo"), data=b'{"hey": 42}', content_type="application/json"
)
content, status, headers = unpack_werkzeug_response(response)

assert status.lower() == "200 ok"
assert content == b'{"hey": 42}'

(event,) = events

Expand Down

0 comments on commit 2ca480a

Please sign in to comment.