Skip to content

Commit 5596153

Browse files
committed
Start of consolidating tests for exceptions
1 parent b19daba commit 5596153

2 files changed

Lines changed: 8 additions & 12 deletions

File tree

tests/test_exceptions/test_request_quota_reached.py

Lines changed: 0 additions & 10 deletions
This file was deleted.

tests/test_exceptions/test_unknown_target.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
"""
2-
Tests for passing invalid target IDs to helpers which require a target ID to
3-
be given.
2+
Tests for various exceptions.
43
"""
54

65
import pytest
@@ -18,3 +17,10 @@ def test_invalid_given_id(client: VWS) -> None:
1817
with pytest.raises(UnknownTarget) as exc:
1918
client.delete_target(target_id='x')
2019
assert exc.value.response.status_code == codes.NOT_FOUND
20+
21+
22+
def test_request_quota_reached() -> None:
23+
"""
24+
See https://github.com/adamtheturtle/vws-python/issues/822 for writing
25+
this test.
26+
"""

0 commit comments

Comments
 (0)