'Tests if pingdom imap check from up to down is handled correctly'

def test_pingdom_from_up_to_down_imap_check_message(self):

    expected_message = u'Service    imap.someurl.com    changed    its    IMAP    status    from    UP    to    DOWN.\nDescription:    Invalid    hostname,    address    or    socket.'
    self.send_and_test_stream_message('imap_up_to_down', u'IMAP    check    status.', expected_message)
