File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed
Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -88,8 +88,8 @@ def query(
8888 data = content ,
8989 )
9090
91- if 'Accepted range is from 1 to 50 (inclusive).' in response . text :
92- raise MaxNumResultsOutOfRange ( response = response )
93-
94- raise_for_result_code ( response = response , expected_result_code = 'Success' )
91+ raise_for_result_code (
92+ response = response ,
93+ expected_result_code = 'Success' ,
94+ )
9595 return list (response .json ()['results' ])
Original file line number Diff line number Diff line change @@ -211,7 +211,8 @@ def test_metadata_too_large(
211211def test_authentication_failure (high_quality_image : io .BytesIO ) -> None :
212212 """
213213 An ``AuthenticationFailure`` exception is raised when the server access key
214- exists but the server secret key is incorrect.
214+ exists but the server secret key is incorrect, or when a client key is
215+ incorrect.
215216 """
216217 database = VuforiaDatabase ()
217218 with MockVWS () as mock :
You can’t perform that action at this time.
0 commit comments