'Verify deadline is set to course end date by signal when changed.'

def test_deadline(self):

    deadline = (datetime.now(tz=UTC) - timedelta(days=7))
    VerificationDeadline.set_deadline(self.course.id, deadline)
    _listen_for_course_publish('store', self.course.id)
    self.assertEqual(VerificationDeadline.deadline_for_course(self.course.id), self.course.end)
