Skip to content

Commit 1042ecb

Browse files
dependabot[bot]untitaker
authored andcommitted
build(deps): bump werkzeug from 0.14.1 to 0.15.3 (getsentry#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](pallets/werkzeug@0.14.1...0.15.3) Signed-off-by: dependabot[bot] <support@github.com> * test: Update snapshot of request * fix: Fix another header * fix: Fix more headers
1 parent 2dc260c commit 1042ecb

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

test-requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ hypothesis==3.69.9
22
pytest==3.7.3
33
pytest-xdist==1.23.0
44
tox==3.7.0
5-
Werkzeug==0.14.1
5+
Werkzeug==0.15.3
66
pytest-localserver==0.4.1
77
pytest-cov==2.6.0
88
gevent

tests/integrations/django/test_basic.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def test_request_captured(sentry_init, client, capture_events):
5656
assert event["request"] == {
5757
"cookies": {},
5858
"env": {"SERVER_NAME": "localhost", "SERVER_PORT": "80"},
59-
"headers": {"Content-Length": "0", "Content-Type": "", "Host": "localhost"},
59+
"headers": {"Host": "localhost"},
6060
"method": "GET",
6161
"query_string": "",
6262
"url": "http://localhost/message",
@@ -135,7 +135,7 @@ def test_custom_error_handler_request_context(sentry_init, client, capture_event
135135
assert event["level"] == "error"
136136
assert event["request"] == {
137137
"env": {"SERVER_NAME": "localhost", "SERVER_PORT": "80"},
138-
"headers": {"Content-Length": "0", "Content-Type": "", "Host": "localhost"},
138+
"headers": {"Host": "localhost"},
139139
"method": "POST",
140140
"query_string": "",
141141
"url": "http://localhost/404",

tests/integrations/pyramid/test_pyramid.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def hi2(request):
101101
assert event["message"] == "yoo"
102102
assert event["request"] == {
103103
"env": {"SERVER_NAME": "localhost", "SERVER_PORT": "80"},
104-
"headers": {"Content-Length": "0", "Content-Type": "", "Host": "localhost"},
104+
"headers": {"Host": "localhost"},
105105
"method": "GET",
106106
"query_string": "",
107107
"url": "http://localhost/message/yoo",

tests/integrations/wsgi/test_wsgi.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def test_basic(sentry_init, crashing_app, capture_events):
4949

5050
assert event["request"] == {
5151
"env": {"SERVER_NAME": "localhost", "SERVER_PORT": "80"},
52-
"headers": {"Content-Length": "0", "Content-Type": "", "Host": "localhost"},
52+
"headers": {"Host": "localhost"},
5353
"method": "GET",
5454
"query_string": "",
5555
"url": "http://localhost/",

0 commit comments

Comments
 (0)