From 1042ecb1cbb17a534bae9cabfe306cd1fe737962 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 27 Aug 2019 13:37:06 +0200 Subject: [PATCH] build(deps): bump werkzeug from 0.14.1 to 0.15.3 (#477) * build(deps): bump werkzeug from 0.14.1 to 0.15.3 Bumps [werkzeug](https://github.com/pallets/werkzeug) from 0.14.1 to 0.15.3. - [Release notes](https://github.com/pallets/werkzeug/releases) - [Changelog](https://github.com/pallets/werkzeug/blob/master/CHANGES.rst) - [Commits](https://github.com/pallets/werkzeug/compare/0.14.1...0.15.3) Signed-off-by: dependabot[bot] * test: Update snapshot of request * fix: Fix another header * fix: Fix more headers --- test-requirements.txt | 2 +- tests/integrations/django/test_basic.py | 4 ++-- tests/integrations/pyramid/test_pyramid.py | 2 +- tests/integrations/wsgi/test_wsgi.py | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) 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/",