Skip to content

No longer skip maximum image file size test #2507

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 30, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 2 additions & 21 deletions tests/mock_vws/test_query.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
import datetime
import io
import json
import sys
import textwrap
import time
import uuid
Expand Down Expand Up @@ -1395,16 +1394,7 @@ class TestMaximumImageFileSize:
"""

@staticmethod
@pytest.mark.skipif(
sys.version_info > (3, 9),
reason=(
"There is a bug in urllib3: "
"https://github.com/urllib3/urllib3/issues/2733"
),
)
def test_png(
cloud_reco_client: CloudRecoService,
) -> None: # pragma: no cover
def test_png(cloud_reco_client: CloudRecoService) -> None:
"""
According to
https://developer.vuforia.com/library/web-api/vuforia-query-web-api.
Expand Down Expand Up @@ -1474,16 +1464,7 @@ def test_png(
assert response.text == _NGINX_REQUEST_ENTITY_TOO_LARGE_ERROR

@staticmethod
@pytest.mark.skipif(
sys.version_info > (3, 9),
reason=(
"There is a bug in urllib3: "
"https://github.com/urllib3/urllib3/issues/2733"
),
)
def test_jpeg(
cloud_reco_client: CloudRecoService,
) -> None: # pragma: no cover
def test_jpeg(cloud_reco_client: CloudRecoService) -> None:
"""
According to
https://developer.vuforia.com/library/web-api/vuforia-query-web-api.
Expand Down
Loading