We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bedca5b commit b265513Copy full SHA for b265513
tests/test_exceptions.py
@@ -237,9 +237,11 @@ def test_request_time_too_skewed(vws_client: VWS) -> None:
237
#
238
# >= 1 ticks are acceptable.
239
with freeze_time(auto_tick_seconds=time_difference_from_now):
240
- with pytest.raises(RequestTimeTooSkewed):
+ with pytest.raises(RequestTimeTooSkewed) as exc:
241
vws_client.get_target_record(target_id='a')
242
243
+ assert exc.value.response.status_code == codes.FORBIDDEN
244
+
245
246
def test_authentication_failure(high_quality_image: io.BytesIO) -> None:
247
"""
0 commit comments