def test_postinstall(self): self.assertEquals(classify.classify(RECAP_POSTINSTALL), ('undercloud_post_install', '/home/stack/undercloud_post_install.log'))
def test_fatal_topic(self): self.assertEquals( classify.classify(FATAL_TOPIC), ('host', 'setup-undercloud-get-image-expected-checksum'))
def test_slave_offline(self): self.assertEquals(classify.classify(SLAVE_OFFLINE), ( 'host', 'slave-went-offline-during-the-build', ))
def test_ignoring(self): self.assertEquals(classify.classify(IGNORING), ('unknown', ))
def test_unreachable(self): self.assertEquals( classify.classify(RECAP_UNREACHABLE), ('undercloud', 'failed-to-connect-to-the-host-via-ssh'))
def test_hung_up(self): self.assertEquals(classify.classify(HUNG_UP), ( 'host', 'the-remote-end-hung-up-unexpectedly', ))
def test_remote_host(self): self.assertEquals( classify.classify(REMOTE_HOST), ('host', 'remote-host-identification-has-changed',))
def test_slave_offline(self): self.assertEquals( classify.classify(SLAVE_OFFLINE), ('host', 'slave-went-offline-during-the-build',))
def test_missing_file(self): self.assertEquals( classify.classify(MISSING_FILE), ('host', 'minimal_pacemaker.yml-does-not-exist-or-is-not-readable',))
def test_hung_up(self): self.assertEquals( classify.classify(HUNG_UP), ('host', 'the-remote-end-hung-up-unexpectedly',))
def test_unreachable(self): self.assertEquals(classify.classify(RECAP_UNREACHABLE), ('undercloud', 'failed-to-connect-to-the-host-via-ssh'))
def test_host_error(self): self.assertEquals(classify.classify(RECAP_HOST_ERROR), ('host', 'failed-to-connect-to-the-hypervisor'))
def test_host(self): self.assertEquals(classify.classify(RECAP_HOST), ('host',))
def test_host(self): self.assertEquals(classify.classify(RECAP_HOST), ('host', ))
def test_overcloud_deploy_result(self): self.assertEquals( classify.classify(OVERCLOUD_DEPLOY_RESULT), ('overcloud', '/home/stack/overcloud_deploy.log'))
def test_ignoring(self): self.assertEquals( classify.classify(IGNORING), ('unknown',))
def test_missing_file(self): self.assertEquals(classify.classify(MISSING_FILE), ( 'host', 'minimal_pacemaker.yml-does-not-exist-or-is-not-readable', ))
def test_build_timeout(self): self.assertEquals( classify.classify(BUILD_TIMEOUT), ('host', 'build-timed-out'))
def test_remote_host(self): self.assertEquals(classify.classify(REMOTE_HOST), ( 'host', 'remote-host-identification-has-changed', ))
def test_overcloud_deploy_result(self): self.assertEquals(classify.classify(OVERCLOUD_DEPLOY_RESULT), ('overcloud', '/home/stack/overcloud_deploy.log'))
def test_network_unreachable(self): self.assertEquals( classify.classify(NETWORK_UNREACHABLE), ('host', 'network-is-unreachable'))
def test_build_timeout(self): self.assertEquals(classify.classify(BUILD_TIMEOUT), ('host', 'build-timed-out'))
def test_undercloud(self): self.assertEquals(classify.classify(RECAP_UNDERCLOUD), ('undercloud', ))
def test_network_unreachable(self): self.assertEquals(classify.classify(NETWORK_UNREACHABLE), ('host', 'network-is-unreachable'))
def test_undercloud(self): self.assertEquals(classify.classify(RECAP_UNDERCLOUD), ('undercloud',))