Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion test-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ hypothesis==3.69.9
pytest==3.7.3
pytest-xdist==1.23.0
tox==3.7.0
Werkzeug==0.14.1
Werkzeug==0.15.3
pytest-localserver==0.4.1
pytest-cov==2.6.0
gevent
4 changes: 2 additions & 2 deletions tests/integrations/django/test_basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def test_request_captured(sentry_init, client, capture_events):
assert event["request"] == {
"cookies": {},
"env": {"SERVER_NAME": "localhost", "SERVER_PORT": "80"},
"headers": {"Content-Length": "0", "Content-Type": "", "Host": "localhost"},
"headers": {"Host": "localhost"},
"method": "GET",
"query_string": "",
"url": "http://localhost/message",
Expand Down Expand Up @@ -135,7 +135,7 @@ def test_custom_error_handler_request_context(sentry_init, client, capture_event
assert event["level"] == "error"
assert event["request"] == {
"env": {"SERVER_NAME": "localhost", "SERVER_PORT": "80"},
"headers": {"Content-Length": "0", "Content-Type": "", "Host": "localhost"},
"headers": {"Host": "localhost"},
"method": "POST",
"query_string": "",
"url": "http://localhost/404",
Expand Down
2 changes: 1 addition & 1 deletion tests/integrations/pyramid/test_pyramid.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def hi2(request):
assert event["message"] == "yoo"
assert event["request"] == {
"env": {"SERVER_NAME": "localhost", "SERVER_PORT": "80"},
"headers": {"Content-Length": "0", "Content-Type": "", "Host": "localhost"},
"headers": {"Host": "localhost"},
"method": "GET",
"query_string": "",
"url": "http://localhost/message/yoo",
Expand Down
2 changes: 1 addition & 1 deletion tests/integrations/wsgi/test_wsgi.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def test_basic(sentry_init, crashing_app, capture_events):

assert event["request"] == {
"env": {"SERVER_NAME": "localhost", "SERVER_PORT": "80"},
"headers": {"Content-Length": "0", "Content-Type": "", "Host": "localhost"},
"headers": {"Host": "localhost"},
"method": "GET",
"query_string": "",
"url": "http://localhost/",
Expand Down