def test_RpcTimeoutError_repr(self): dev = Device('test') obj = RpcTimeoutError(dev=dev, cmd='test', timeout=50) err = 'RpcTimeoutError(host: test, cmd: test, timeout: 50)' self.assertEqual(obj.__repr__(), err)
def test_RpcTimeoutError_repr(self): dev = Device("test") obj = RpcTimeoutError(dev=dev, cmd="test", timeout=50) err = "RpcTimeoutError(host: test, cmd: test, timeout: 50)" self.assertEqual(obj.__repr__(), err)
def test_RpcTimeoutError_repr(self): dev = Device('test') obj = RpcTimeoutError(dev=dev, cmd='test', timeout=50) err = 'RpcTimeoutError(host: test, cmd: test, timeout: 50)' self.assertEqual(obj.__repr__(), err)
def test_RpcTimeoutError_repr(self): dev = Device("test") obj = RpcTimeoutError(dev=dev, cmd="test", timeout=50) err = "RpcTimeoutError(host: test, cmd: test, timeout: 50)" self.assertEqual(obj.__repr__(), err)