

@mock.patch('nova.console.rpcapi.ConsoleAPI.remove_console')
def test_delete_console(self, mock_remove):
    self.console_api.delete_console(self.context, self.fake_uuid, 'fake_id')
    mock_remove.assert_called_once_with(self.context, 'fake_id')

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