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