'Run delete-state scenario on option problem'

def test_delete_problem_state(self):

    problem_url_name = 'H1P1'
    self.define_option_problem(problem_url_name)
    location = InstructorTaskModuleTestCase.problem_location(problem_url_name)
    descriptor = self.module_store.get_item(location)
    for username in self.userlist:
        self.submit_student_answer(username, problem_url_name, [OPTION_1, OPTION_1])
    for username in self.userlist:
        self.assertIsNotNone(self.get_student_module(username, descriptor))
    self.delete_problem_state('instructor', location)
    for username in self.userlist:
        with self.assertRaises(StudentModule.DoesNotExist):
            self.get_student_module(username, descriptor)
