From 9df52f0a2d47efb51d10e656a46ab283e7d648d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stef=20Oss=C3=A9?= Date: Sun, 10 Mar 2024 19:42:31 +0100 Subject: [PATCH] linting --- backend/tests/teachers_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/tests/teachers_test.py b/backend/tests/teachers_test.py index 74b12a0e..e76d29fa 100644 --- a/backend/tests/teachers_test.py +++ b/backend/tests/teachers_test.py @@ -15,7 +15,7 @@ def setUp(self) -> None: def test_create_teacher_bad_request(self) -> None: response = self.app.post("/teachers", data={}) assert response.status_code == HTTPStatus.BAD_REQUEST - assert "error" in response.text + assert "error" in json.loads(response.text) def test_create_teacher_success(self) -> None: teacher_data = {"name": "Bart De Bruyn"}