def test_001b_init(self): # Ensure bus client instanciation (method 2) client = _BusClient('login', 'password', '127.0.0.1', 5555) host, port = client._address eq_(host, '127.0.0.1') eq_(port, 5555)
def setUp(self): self.client = _BusClient('login@localhost', 'password')