Skip to content

Commit 2f267f9

Browse files
committed
More strict test
1 parent 1ba5467 commit 2f267f9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/mock_vws/test_query.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1101,7 +1101,7 @@ def test_png(
11011101
#
11021102
# This is just because of the implementation details of ``image_file``.
11031103
assert image_content_size < documented_max_bytes
1104-
assert (image_content_size * 1.1) > documented_max_bytes
1104+
assert (image_content_size * 1.05) > documented_max_bytes
11051105

11061106
response = query(
11071107
vuforia_database_keys=vuforia_database_keys,
@@ -1127,7 +1127,7 @@ def test_png(
11271127
#
11281128
# This is just because of the implementation details of ``image_file``.
11291129
assert image_content_size > documented_max_bytes
1130-
assert (image_content_size * 0.9) < documented_max_bytes
1130+
assert (image_content_size * 0.95) < documented_max_bytes
11311131

11321132
with pytest.raises(requests.exceptions.ConnectionError):
11331133
query(

0 commit comments

Comments
 (0)