We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f2af017 commit 5443d81Copy full SHA for 5443d81
tests/test_unknown_target.py
@@ -0,0 +1,28 @@
1
+"""
2
+Tests for passing invalid target IDs to endpoints which
3
+require a target ID to be given.
4
5
+
6
+from functools import partial
7
8
+from vws import VWS
9
10
11
+class TestInvalidGivenID:
12
+ """
13
+ Tests for giving an invalid ID to endpoints which require a target ID to
14
+ be given.
15
16
17
+ def test_invalid_given_id(
18
+ self,
19
+ client: VWS,
20
+ ):
21
+ get_target_record = partial(client.get_target_record)
22
23
+ funcs = (
24
+ get_target_record,
25
+ )
26
27
+ for func in funcs:
28
+ func(target_id='x')
0 commit comments