Skip to content

Commit adfd510

Browse files
committed
Remove stub for unnecessary test
1 parent 7e8da05 commit adfd510

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

tests/mock_vws/test_query.py

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1060,13 +1060,13 @@ class TestBadImage:
10601060
Tests for bad images.
10611061
"""
10621062

1063-
def test_png(
1063+
def test_corrupted(
10641064
self,
10651065
vuforia_database_keys: VuforiaDatabaseKeys,
10661066
png_rgb: io.BytesIO,
10671067
) -> None:
10681068
"""
1069-
A "BadImage" result is returned when a corrupted PNG is given.
1069+
A "BadImage" result is returned when a corrupted image is given.
10701070
"""
10711071
original_data = png_rgb.getvalue()
10721072
corrupted_data = original_data.replace(b'IEND', b'\x00' + b'IEND')
@@ -1098,12 +1098,6 @@ def test_png(
10981098
)
10991099
assert response.text == expected_text
11001100

1101-
def test_jpeg(self) -> None:
1102-
"""
1103-
See https://github.com/adamtheturtle/vws-python/issues/357 for
1104-
implementing this test.
1105-
"""
1106-
11071101

11081102
@pytest.mark.usefixtures('verify_mock_vuforia')
11091103
class TestMaximumImageSize:

0 commit comments

Comments
 (0)