From 4ecc912b5948b7b08826b960a52c4c48bf631d03 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci-lite[bot]" <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com> Date: Thu, 23 May 2024 19:39:03 +0000 Subject: [PATCH] [pre-commit.ci lite] apply automatic fixes --- kolibri/core/exams/test/test_exam_api.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/kolibri/core/exams/test/test_exam_api.py b/kolibri/core/exams/test/test_exam_api.py index 3d42ea17ecf..aa9bc8e6ced 100644 --- a/kolibri/core/exams/test/test_exam_api.py +++ b/kolibri/core/exams/test/test_exam_api.py @@ -553,7 +553,9 @@ def test_exam_model_get_questions_v2_v1(self): def test_exam_question_count_calculation(self): self.login_as_admin() exam = self.make_basic_exam() - question_count = sum(len(source["questions"]) for source in exam["question_sources"]) + question_count = sum( + len(source["questions"]) for source in exam["question_sources"] + ) response = self.post_new_exam(exam) exam_id = response.data["id"] self.assertEqual(response.status_code, 201)