File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ PyYAML==5.2
44Pygments==2.5.2
55Sphinx-Substitution-Extensions==2019.6.15.0
66Sphinx==2.3.0
7- VWS-Python-Mock==2019.12.7.1
7+ VWS-Python-Mock==2019.12.17.0
88VWS-Test-Fixtures==2019.12.13.1
99autoflake==1.3.1
1010check-manifest==0.40
Original file line number Diff line number Diff line change @@ -49,12 +49,12 @@ def test_image_too_large(
4949 assert exc .value .response .status_code == codes .UNPROCESSABLE_ENTITY
5050
5151
52- @pytest .mark .parametrize ('target_id' , ['x' , 'x/1' ])
53- def test_invalid_given_id (vws_client : VWS , target_id : str ) -> None :
52+ def test_invalid_given_id (vws_client : VWS ) -> None :
5453 """
5554 Giving an invalid ID to a helper which requires a target ID to be given
5655 causes an ``UnknownTarget`` exception to be raised.
5756 """
57+ target_id = '12345abc'
5858 with pytest .raises (UnknownTarget ) as exc :
5959 vws_client .delete_target (target_id = target_id )
6060 assert exc .value .response .status_code == codes .NOT_FOUND
You can’t perform that action at this time.
0 commit comments