'Check that the_input.msg is sanitized.'

def test_matlab_sanitize_msg(self):

    not_allowed_tag = 'script'
    self.the_input.msg = '<{0}>Test    message</{0}>'.format(not_allowed_tag)
    expected = '&lt;script&gt;Test    message&lt;/script&gt;'
    self.assertEqual(self.the_input._get_render_context()['msg'], expected)
