Skip to content

Commit c200191

Browse files
Merge pull request #2182 from VWS-Python/rm-helpers
Reduce use of helpers for calling Vuforia in tests - use more vws-python
2 parents 8c3c912 + e567851 commit c200191

11 files changed

+271
-430
lines changed

tests/conftest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ def not_base64_encoded_processable(request: pytest.FixtureRequest) -> str:
140140
"""
141141
not_base64_encoded_string: str = request.param
142142

143-
with pytest.raises(binascii.Error):
143+
with pytest.raises(expected_exception=binascii.Error):
144144
base64.b64decode(s=not_base64_encoded_string, validate=True)
145145

146146
return not_base64_encoded_string
@@ -162,7 +162,7 @@ def not_base64_encoded_not_processable(request: pytest.FixtureRequest) -> str:
162162
"""
163163
not_base64_encoded_string: str = request.param
164164

165-
with pytest.raises(binascii.Error):
165+
with pytest.raises(expected_exception=binascii.Error):
166166
base64.b64decode(s=not_base64_encoded_string, validate=True)
167167

168168
return not_base64_encoded_string

0 commit comments

Comments
 (0)