We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 03d7c6c commit 970c617Copy full SHA for 970c617
tests/mock_vws/test_add_target.py
@@ -779,9 +779,10 @@ def test_too_large_foo(
779
image_data = png_rgb.read()
780
image_data_encoded = base64.b64encode(image_data).decode('ascii')
781
782
- # 500000 not too large
783
- # 5000000 is too large
784
- metadata = b'a' * 5000000
+ # 1000000 not too large
+ # (1024 * 1024 - 1) is not too large
+ # (1024 * 1024) is too large
785
+ metadata = b'a' * (1024 * 1024)
786
metadata_encoded = base64.b64encode(metadata).decode('ascii')
787
788
data = {
0 commit comments