'Test allowed tags.'

def test_matlab_queue_message_allowed_tags(self):

    allowed_tags = ['div', 'p', 'audio', 'pre', 'span']
    for tag in allowed_tags:
        queue_msg = '<{0}>Test    message</{0}>'.format(tag)
        state = {'input_state': {'queue_msg': queue_msg}, 'status': 'queued'}
        elt = etree.fromstring(self.xml)
        the_input = self.input_class(test_capa_system(), elt, state)
        self.assertEqual(the_input.queue_msg, queue_msg)
