Skip to content

Commit 9b2a9db

Browse files
committed
Fixed a few failing tests by adding expected www_authenticate header
1 parent 933ed41 commit 9b2a9db

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/mock_vws/test_content_length.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def test_too_small(self, endpoint: Endpoint) -> None:
102102
status_code=HTTPStatus.UNAUTHORIZED,
103103
content_type='application/json',
104104
cache_control=None,
105-
www_authenticate=None,
105+
www_authenticate='VWS',
106106
)
107107
return
108108

tests/mock_vws/test_date_header.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ def test_incorrect_date_format(
144144
status_code=HTTPStatus.UNAUTHORIZED,
145145
content_type='text/plain; charset=ISO-8859-1',
146146
cache_control=None,
147-
www_authenticate=None,
147+
www_authenticate='VWS',
148148
)
149149
return
150150

0 commit comments

Comments
 (0)