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

def test_problem_marked_incorrect(self):

    conditions = [{'status': Status('incorrect'), 'input_type': 'checkbox', 'value': []}, {'status': Status('incorrect'), 'input_type': 'checkbox', 'value': ['2']}, {'status': Status('incorrect'), 'input_type': 'checkbox', 'value': ['2', '3']}, {'status': Status('incomplete'), 'input_type': 'checkbox', 'value': []}, {'status': Status('incomplete'), 'input_type': 'checkbox', 'value': ['2']}, {'status': Status('incomplete'), 'input_type': 'checkbox', 'value': ['2', '3']}]
    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    incorrect']"
        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)
