Skip to content

Commit bb4f4ca

Browse files
committed
Progress towards a passing test
1 parent 5e2b6c7 commit bb4f4ca

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

tests/mock_vws/test_query.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1617,3 +1617,19 @@ class TestDateFormats:
16171617
> The data format must exactly match the Date that is sent in the ‘Date’
16181618
> header.
16191619
"""
1620+
1621+
def test_date_formats(
1622+
self,
1623+
high_quality_image: io.BytesIO,
1624+
vuforia_database_keys: VuforiaDatabaseKeys,
1625+
) -> None:
1626+
image_content = high_quality_image.getvalue()
1627+
body = {'image': ('image.jpeg', image_content, 'image/jpeg')}
1628+
1629+
response = query(
1630+
vuforia_database_keys=vuforia_database_keys,
1631+
body=body,
1632+
)
1633+
1634+
assert_query_success(response=response)
1635+
assert response.json()['results'] == []

0 commit comments

Comments
 (0)