Skip to content

Commit e0b9153

Browse files
committed
Progress
1 parent 3de072b commit e0b9153

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tests/test_unknown_target.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@
33
be given.
44
"""
55

6+
import pytest
7+
68
from vws import VWS
9+
from vws.exceptions import UnknownTarget
710

811

912
class TestInvalidGivenID:
@@ -24,4 +27,5 @@ def test_invalid_given_id(self, client: VWS) -> None:
2427
)
2528

2629
for func in funcs:
27-
func(target_id='x')
30+
with pytest.raises(UnknownTarget):
31+
func(target_id='x')

0 commit comments

Comments
 (0)