'Test problem ProcessingErrors due to resets'

def test_submission_reset(self):

    self.basic_setup(reset=True)
    resp = self.submit_question_answer('p1', {'2_1': 'Correct'})
    resp = self.submit_question_answer('p1', {'2_1': 'Correct'})
    self.assertEqual(resp.status_code, 200)
    err_msg = 'The    state    of    this    problem    has    changed    since    you    loaded    this    page.    Please    refresh    your    page.'
    self.assertEqual(json.loads(resp.content).get('success'), err_msg)
