Skip to content

Commit 5e2b6c7

Browse files
committed
Add stub class for test
1 parent fd79135 commit 5e2b6c7

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

tests/mock_vws/test_query.py

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1600,3 +1600,20 @@ def test_status_failed(
16001600

16011601
assert_query_success(response=response)
16021602
assert response.json()['results'] == []
1603+
1604+
1605+
@pytest.mark.usefixtures('verify_mock_vuforia')
1606+
class TestDateFormats:
1607+
"""
1608+
Tests for various date formats.
1609+
1610+
The date format for the VWS API as per
1611+
https://library.vuforia.com/articles/Training/Using-the-VWS-API.html must
1612+
be in the rfc1123-date format.
1613+
1614+
However, for the query endpoint, the documentation does not mention the
1615+
format. It says:
1616+
1617+
> The data format must exactly match the Date that is sent in the ‘Date’
1618+
> header.
1619+
"""

0 commit comments

Comments
 (0)