From 537b5608914aa751410b569d71cfd50a5f85a99c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20W=C3=B6rister?= <31357619+fwoerister@users.noreply.github.com> Date: Thu, 5 Feb 2026 10:18:52 +0100 Subject: [PATCH] unit tests fixed due to removal of coding_mode column --- tests/test_exercise.py | 2 -- tests/util/demo_data.py | 3 --- 2 files changed, 5 deletions(-) diff --git a/tests/test_exercise.py b/tests/test_exercise.py index 8e90929..34b3973 100644 --- a/tests/test_exercise.py +++ b/tests/test_exercise.py @@ -44,7 +44,6 @@ def test_post_exercise(self): new_exercise = { "title": "posted exercise", "markdown": "", - "coding_mode": "bbp", "skip_delay": 10, "next_exercise_id": None, } @@ -56,7 +55,6 @@ def test_post_exercise(self): assert result_exercise["title"] == new_exercise["title"] assert result_exercise["markdown"] == new_exercise["markdown"] - assert result_exercise["coding_mode"] == new_exercise["coding_mode"] assert type(result_exercise["id"]) == int assert response.status_code == 201 diff --git a/tests/util/demo_data.py b/tests/util/demo_data.py index dcd7623..b57d717 100644 --- a/tests/util/demo_data.py +++ b/tests/util/demo_data.py @@ -62,7 +62,6 @@ "id": 1, "title": "Demo Exercise 1", "markdown": "", - "coding_mode": "bbp", "skip_delay": 5, "next_exercise_id": 2, }, @@ -70,7 +69,6 @@ "id": 2, "title": "Demo exercise 2", "markdown": "", - "coding_mode": "bbp", "skip_delay": 5, "next_exercise_id": 3, }, @@ -78,7 +76,6 @@ "id": 3, "title": "Demo exercise 3", "markdown": "", - "coding_mode": "bbp", "skip_delay": 5, "next_exercise_id": None, }