'Creates the test course structure and a couple problems to \'edit\'.'

def setUp(self):

    super(TestEditItemSetup, self).setUp()
    display_name = 'chapter    created'
    resp = self.create_xblock(display_name=display_name, category='chapter')
    chap_usage_key = self.response_usage_key(resp)
    resp = self.create_xblock(parent_usage_key=chap_usage_key, category='sequential')
    self.seq_usage_key = self.response_usage_key(resp)
    self.seq_update_url = reverse_usage_url('xblock_handler', self.seq_usage_key)
    resp = self.create_xblock(parent_usage_key=chap_usage_key, category='sequential')
    self.seq2_usage_key = self.response_usage_key(resp)
    self.seq2_update_url = reverse_usage_url('xblock_handler', self.seq2_usage_key)
    template_id = 'multiplechoice.yaml'
    resp = self.create_xblock(parent_usage_key=self.seq_usage_key, category='problem', boilerplate=template_id)
    self.problem_usage_key = self.response_usage_key(resp)
    self.problem_update_url = reverse_usage_url('xblock_handler', self.problem_usage_key)
    self.course_update_url = reverse_usage_url('xblock_handler', self.usage_key)
