Skip to content

Commit 0939264

Browse files
flakey tests are all passing now
1 parent accd07a commit 0939264

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

backend/tests/api/routes/test_exam_attempts.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ def test_update_exam_attempt_success(client: TestClient, db: Session) -> None:
163163
assert response.status_code == 200
164164

165165

166-
def flaky_test_update_exam_attempt_locked(client: TestClient, db: Session) -> None:
166+
def test_update_exam_attempt_locked(client: TestClient, db: Session) -> None:
167167
"""Test updating a completed exam attempt."""
168168
# 1️⃣ Create a random user and their token
169169
user, password = create_random_user_with_password(db)
@@ -202,7 +202,7 @@ def flaky_test_update_exam_attempt_locked(client: TestClient, db: Session) -> No
202202
assert response.json()["detail"] == "Exam attempt is already completed"
203203

204204

205-
def flaky_test_update_exam_attempt_not_found(
205+
def test_update_exam_attempt_not_found(
206206
client: TestClient,
207207
superuser_token_headers: dict[str, str],
208208
) -> None:
@@ -219,7 +219,7 @@ def flaky_test_update_exam_attempt_not_found(
219219
assert response.json()["detail"] == "Exam attempt not found"
220220

221221

222-
def flaky_test_update_exam_attempt_not_enough_permissions(
222+
def test_update_exam_attempt_not_enough_permissions(
223223
client: TestClient,
224224
normal_user_token_headers: dict[str, str],
225225
db: Session,

0 commit comments

Comments
 (0)