Disturbingly, there seems to be a git bug bug here. Line 872 does have that assert, but it is not showing up in the diff.

    def assert_created_course(self):
        """
        Checks that the course was created properly.
        """
        resp = self.client.post(reverse('create_new_course'), self.course_data)
        self.assertEqual(resp.status_code, 200)
        data = parse_json(resp)
        self.assertEqual(data['id'], 'i4x://MITx/999/course/Robot_Super_Course')