Skip to content

Commit aff3915

Browse files
committed
Bump to latest mock
1 parent adf15a9 commit aff3915

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

dev-requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ PyYAML==5.2
44
Pygments==2.5.2
55
Sphinx-Substitution-Extensions==2019.6.15.0
66
Sphinx==2.3.0
7-
VWS-Python-Mock==2019.12.7.1
7+
VWS-Python-Mock==2019.12.17.0
88
VWS-Test-Fixtures==2019.12.13.1
99
autoflake==1.3.1
1010
check-manifest==0.40

tests/test_exceptions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)