'Verify that editor exit message is rendered.'

def test_editor_exit_message(self):

    xml = self.render_to_xml(self.context)
    self.assert_has_text(xml, '//span[@id="cm-editor-exit-message-1"]', self.context['code_mirror_exit_message'])
