Skip to content

Commit

Permalink
[pre-commit.ci lite] apply automatic fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci-lite[bot] authored May 23, 2024
1 parent 967becc commit 4ecc912
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion kolibri/core/exams/test/test_exam_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 4ecc912

Please sign in to comment.