

def test_get_consoles(self):
    console = self.console_api.get_consoles(self.context, self.fake_uuid)
    self.assertEqual(console, [self.fake_console])

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