diff --git a/test-requirements.txt b/test-requirements.txt index 64a551c367..d4fafb53dc 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -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 diff --git a/tests/integrations/django/test_basic.py b/tests/integrations/django/test_basic.py index 9bb350ccde..49853f5427 100644 --- a/tests/integrations/django/test_basic.py +++ b/tests/integrations/django/test_basic.py @@ -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", @@ -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", diff --git a/tests/integrations/pyramid/test_pyramid.py b/tests/integrations/pyramid/test_pyramid.py index e9aa5eaba3..dd2ee3d6f7 100644 --- a/tests/integrations/pyramid/test_pyramid.py +++ b/tests/integrations/pyramid/test_pyramid.py @@ -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", diff --git a/tests/integrations/wsgi/test_wsgi.py b/tests/integrations/wsgi/test_wsgi.py index 101e29dfb5..8c920f4dab 100644 --- a/tests/integrations/wsgi/test_wsgi.py +++ b/tests/integrations/wsgi/test_wsgi.py @@ -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/",