We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6bb9729 commit 87bc34aCopy full SHA for 87bc34a
1 file changed
tests/test_infra.py
@@ -164,7 +164,7 @@ def test_quiz_workflow(api_endpoint):
164
assert response.status_code == 200
165
leaderboard = response.json()
166
print(leaderboard)
167
- assert len(leaderboard) == 3
+ # assert len(leaderboard) == 3
168
else:
169
# If the response is empty, retry it for 3 times with a 2 second delay.
170
# TODO: This is a hack to get around the fact that the leaderboard is not available immediately.
@@ -175,9 +175,8 @@ def test_quiz_workflow(api_endpoint):
175
176
177
178
- else:
179
- assert False, "Leaderboard is empty"
180
+ assert len(leaderboard) == 3
181
182
expected_scores = {
183
"user1": None,
0 commit comments