We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 05c1146 commit 8904ea6Copy full SHA for 8904ea6
tests/mock_vws/test_query.py
@@ -1131,10 +1131,18 @@ def test_png(
1131
body=body,
1132
)
1133
1134
- def test_jpeg(self) -> None:
+ def test_jpeg(
1135
+ self,
1136
+ vuforia_database_keys: VuforiaDatabaseKeys,
1137
+ ) -> None:
1138
"""
- See https://github.com/adamtheturtle/vws-python/issues/357 for
- 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.
1146
1147
1148
0 commit comments