diff --git a/pyproject.toml b/pyproject.toml index df251f8d2..9d5df154d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -103,7 +103,7 @@ optional-dependencies.dev = [ "types-requests==2.32.4.20260107", "urllib3==2.6.3", "vulture==2.14", - "vws-python==2026.2.15", + "vws-python==2026.2.21", "vws-test-fixtures==2023.3.5", "vws-web-tools==2026.2.20", "yamlfix==1.19.1", diff --git a/tests/mock_vws/test_query.py b/tests/mock_vws/test_query.py index 32e7a6a56..f6760b13d 100644 --- a/tests/mock_vws/test_query.py +++ b/tests/mock_vws/test_query.py @@ -143,6 +143,7 @@ def _query( headers=dict(requests_response.headers), request_body=requests_response.request.body, tell_position=requests_response.raw.tell(), + content=requests_response.content, ) handle_server_errors(response=vws_response) return vws_response @@ -250,6 +251,7 @@ def test_incorrect_no_boundary( headers=dict(requests_response.headers), request_body=requests_response.request.body, tell_position=requests_response.raw.tell(), + content=requests_response.content, ) if resp_status_code != HTTPStatus.INTERNAL_SERVER_ERROR: @@ -326,6 +328,7 @@ def test_incorrect_with_boundary( headers=dict(requests_response.headers), request_body=requests_response.request.body, tell_position=requests_response.raw.tell(), + content=requests_response.content, ) handle_server_errors(response=vws_response) assert not requests_response.text @@ -397,6 +400,7 @@ def test_no_boundary( headers=dict(requests_response.headers), request_body=requests_response.request.body, tell_position=requests_response.raw.tell(), + content=requests_response.content, ) expected_text = "RESTEASY007550: Unable to get boundary for multipart" assert requests_response.text == expected_text @@ -456,6 +460,7 @@ def test_bogus_boundary( headers=dict(requests_response.headers), request_body=requests_response.request.body, tell_position=requests_response.raw.tell(), + content=requests_response.content, ) handle_server_errors(response=vws_response) @@ -521,6 +526,7 @@ def test_extra_section( headers=dict(requests_response.headers), request_body=requests_response.request.body, tell_position=requests_response.raw.tell(), + content=requests_response.content, ) handle_server_errors(response=vws_response) assert_query_success(response=vws_response) @@ -1230,6 +1236,7 @@ def test_valid( headers=dict(requests_response.headers), request_body=requests_response.request.body, tell_position=requests_response.raw.tell(), + content=requests_response.content, ) handle_server_errors(response=vws_response) assert_query_success(response=vws_response) @@ -1288,6 +1295,7 @@ def test_invalid( headers=dict(requests_response.headers), request_body=requests_response.request.body, tell_position=requests_response.raw.tell(), + content=requests_response.content, ) handle_server_errors(response=vws_response) @@ -2008,6 +2016,7 @@ def test_date_formats( headers=dict(requests_response.headers), request_body=requests_response.request.body, tell_position=requests_response.raw.tell(), + content=requests_response.content, ) handle_server_errors(response=vws_response) assert_query_success(response=vws_response) diff --git a/tests/mock_vws/utils/__init__.py b/tests/mock_vws/utils/__init__.py index d4bfa0014..de18b5bdb 100644 --- a/tests/mock_vws/utils/__init__.py +++ b/tests/mock_vws/utils/__init__.py @@ -71,6 +71,7 @@ def send(self) -> Response: headers=dict(requests_response.headers), request_body=requests_response.request.body, tell_position=requests_response.raw.tell(), + content=requests_response.content, ) @property