We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f7fd904 commit 6760c67Copy full SHA for 6760c67
tests/test_add_target.py
@@ -22,7 +22,19 @@ def test_add_target(
22
"""
23
No exception is raised when adding one target.
24
25
- client.add_target(name='x', width=1, image=high_quality_image)
+ name = 'x'
26
+ width = 1
27
+ target_id = client.add_target(
28
+ name=name,
29
+ width=width,
30
+ image=high_quality_image,
31
+ )
32
+ get_result = client.get_target(target_id=target_id)
33
+ target_record = get_result['target_record']
34
+ assert target_record['name'] == name
35
+ assert target_record['width'] == width
36
+ assert target_record['active_flag'] == True
37
+
38
39
def test_add_two_targets(
40
self,
0 commit comments