

def test_get_pool_for_instance_host(self):
    pool = self.console._get_pool_for_instance_host(self.context, self.host)
    self.assertEqual(pool['compute_host'], self.host)

dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/tests/unit/console/test_console.py ConsoleTestCase.test_get_pool_for_instance_host/original