def METHOD_NAME(self):
    ctx = {'State': 'Complete', 'Name': 'bar', 'Id': 1}
    self.assertTrue(self.ingester.is_session_complete(
        self.sample_course, ctx))
    messages = [m.message for m in get_messages(self.request)]
    self.assertEqual(len(messages), 0)