'Ensure that we don\'t show the `submitted_message`
before submitting.'

def test_no_message_before_submission(self):

    conditions = [{'input_type': 'radio', 'status': Status('unsubmitted'), 'value': ''}, {'input_type': 'radio', 'status': Status('unsubmitted'), 'value': []}, {'input_type': 'checkbox', 'status': Status('unsubmitted'), 'value': []}]
    self.context['show_correctness'] = 'never'
    self.context['submitted_message'] = 'Test    message'
    for test_conditions in conditions:
        self.context.update(test_conditions)
        xml = self.render_to_xml(self.context)
        self.assert_no_xpath(xml, "//div[@class='capa_alert']", self.context)
