We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5e2b6c7 commit bb4f4caCopy full SHA for bb4f4ca
tests/mock_vws/test_query.py
@@ -1617,3 +1617,19 @@ class TestDateFormats:
1617
> The data format must exactly match the Date that is sent in the ‘Date’
1618
> header.
1619
"""
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