Skip to content

Commit 8b4a591

Browse files
committed
Progress towards recognition counts
1 parent 2e98644 commit 8b4a591

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

tests/mock_vws/test_target_summary.py

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,10 @@ def test_target_summary(
9595
# While processing the tracking rating is -1.
9696
assert response.json()['tracking_rating'] == -1
9797

98+
assert response.json()['total_recos'] == 0
99+
assert response.json()['current_month_recos'] == 0
100+
assert response.json()['previous_month_recos'] == 0
101+
98102
def test_after_processing(
99103
self,
100104
vuforia_database_keys: VuforiaDatabaseKeys,
@@ -140,6 +144,9 @@ def test_after_processing(
140144
assert response.json()['tracking_rating'] == tracking_rating
141145
assert response.json()['tracking_rating'] in range(6)
142146
assert response.json()['status'] == TargetStatuses.FAILED.value
147+
assert response.json()['total_recos'] == 0
148+
assert response.json()['current_month_recos'] == 0
149+
assert response.json()['previous_month_recos'] == 0
143150

144151

145152
@pytest.mark.usefixtures('verify_mock_vuforia')
@@ -177,3 +184,13 @@ def test_active_flag(
177184
target_id=target_id,
178185
)
179186
assert response.json()['active_flag'] == active_flag
187+
188+
189+
@pytest.mark.usefixtures('verify_mock_vuforia')
190+
class TestRecognitionCounts:
191+
"""
192+
Tests for the recognition counts in the summary.
193+
"""
194+
195+
def test_recognition(self):
196+
pass

0 commit comments

Comments
 (0)