Skip to content

Commit 8904ea6

Browse files
committed
Expand stub docstring
1 parent 05c1146 commit 8904ea6

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

tests/mock_vws/test_query.py

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1131,10 +1131,18 @@ def test_png(
11311131
body=body,
11321132
)
11331133

1134-
def test_jpeg(self) -> None:
1134+
def test_jpeg(
1135+
self,
1136+
vuforia_database_keys: VuforiaDatabaseKeys,
1137+
) -> None:
11351138
"""
1136-
See https://github.com/adamtheturtle/vws-python/issues/357 for
1137-
implementing this test.
1139+
According to
1140+
https://library.vuforia.com/articles/Solution/How-To-Perform-an-Image-Recognition-Query.
1141+
the maximum file size is "512 KiB for JPEG".
1142+
1143+
Above this limit, a ``ConnectionError`` is raised.
1144+
We do not test exactly at this limit, but that may be beneficial in the
1145+
future.
11381146
"""
11391147

11401148

0 commit comments

Comments
 (0)