'Check that it is possible to have a host with a semicolon in its hostname
The consequences of this aren\'t tested. We try just to send a command but
I think that others programs which send commands don\'t think to escape
the semicolon.'

def test_escaped_semicolon(self):

    self.assertTrue(self.conf.conf_is_correct)
    hst = self.conf.hosts.find_by_name('test_host_2;with_semicolon')
    self.assertIsNotNone(hst, "host    'test_host_2;with_semicolon'    not    found")
    self.assertTrue(hst.is_correct(), ("config    of    host    '%s'    is    not    true" % hst.get_name()))
    command = ('[%lu]    PROCESS_HOST_CHECK_RESULT;test_host_2\\;with_semicolon;2;down' % time.time())
    self.sched.run_external_command(command)
    self.scheduler_loop(1, [])
    self.scheduler_loop(1, [])
