def test_callRemote_connection_failure(self):
        self.assertFalse(self.endpoint.connected)
        self.endpoint.fail = True
        d = self.factory.callRemote('spam')
        self.assertEqual(len(self.flushLoggedErrors(FakeError)), 1)
        self.failureResultOf(d, FakeError)
Retrieve Node object for a VM with a provided path.
dataset/ETHPy150Open flowroute/txjason/txjason/tests/test_netstring.py/ClientTestCase.test_callRemote_connection_failure--crossover with--dataset/ETHPy150Open apache/libcloud/libcloud/compute/drivers/vsphere.py/VSphereNodeDriver.ex_get_node_by_path