@@ -40,7 +40,8 @@ def test_image_too_large(
4040 png_too_large : io .BytesIO | io .BufferedRandom ,
4141) -> None :
4242 """
43- When giving an image which is too large, an ``ImageTooLarge`` exception is
43+ When giving an image which is too large, an ``ImageTooLarge`` exception
44+ is
4445 raised.
4546 """
4647 with pytest .raises (expected_exception = ImageTooLargeError ) as exc :
@@ -69,7 +70,8 @@ def test_invalid_given_id(vws_client: VWS) -> None:
6970
7071def test_add_bad_name (vws_client : VWS , high_quality_image : io .BytesIO ) -> None :
7172 """
72- When a name with a bad character is given, a ``ServerError`` exception is
73+ When a name with a bad character is given, a ``ServerError`` exception
74+ is
7375 raised.
7476 """
7577 max_char_value = 65535
@@ -96,7 +98,9 @@ def test_request_quota_reached() -> None:
9698
9799
98100def test_fail (high_quality_image : io .BytesIO ) -> None :
99- """A ``Fail`` exception is raised when the server access key does not exist."""
101+ """A ``Fail`` exception is raised when the server access key does not
102+ exist.
103+ """
100104 with MockVWS ():
101105 vws_client = VWS (
102106 server_access_key = uuid .uuid4 ().hex ,
@@ -135,7 +139,8 @@ def test_target_name_exist(
135139 high_quality_image : io .BytesIO ,
136140) -> None :
137141 """
138- A ``TargetNameExist`` exception is raised after adding two targets with the
142+ A ``TargetNameExist`` exception is raised after adding two targets with
143+ the
139144 same name.
140145 """
141146 vws_client .add_target (
@@ -162,7 +167,8 @@ def test_project_inactive(
162167 high_quality_image : io .BytesIO ,
163168) -> None :
164169 """
165- A ``ProjectInactive`` exception is raised if adding a target to an inactive
170+ A ``ProjectInactive`` exception is raised if adding a target to an
171+ inactive
166172 database.
167173 """
168174 database = VuforiaDatabase (state = States .PROJECT_INACTIVE )
@@ -267,7 +273,8 @@ def test_authentication_failure(
267273 high_quality_image : io .BytesIO ,
268274) -> None :
269275 """
270- An ``AuthenticationFailure`` exception is raised when the server access key
276+ An ``AuthenticationFailure`` exception is raised when the server access
277+ key
271278 exists but the server secret key is incorrect, or when a client key is
272279 incorrect.
273280 """
0 commit comments