'Test all conditions under which the entire problem
(not a particular option) is marked unanswered.'

def test_problem_marked_unsubmitted(self):

    conditions = [{'status': Status('unsubmitted'), 'input_type': 'radio', 'value': ''}, {'status': Status('unsubmitted'), 'input_type': 'radio', 'value': []}, {'status': Status('unsubmitted'), 'input_type': 'checkbox', 'value': []}, {'input_type': 'radio', 'value': ''}, {'input_type': 'radio', 'value': []}, {'input_type': 'checkbox', 'value': []}, {'input_type': 'checkbox', 'value': ['1']}, {'input_type': 'checkbox', 'value': ['1', '2']}]
    self.context['status'] = Status('unanswered')
    for test_conditions in conditions:
        self.context.update(test_conditions)
        xml = self.render_to_xml(self.context)
        xpath = "//div[@class='indicator-container']/span[@class='status    unanswered']"
        self.assert_has_xpath(xml, xpath, self.context)
        self.assert_no_xpath(xml, "//label[@class='choicegroup_incorrect']", self.context)
        self.assert_no_xpath(xml, "//label[@class='choicegroup_correct']", self.context)
