Пример #1
0
 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)
Пример #2
0
 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)
Пример #3
0
 def setUp(self):
     self.client = _XmppClient('test@localhost', 'password')
Пример #4
0
 def setUp(self):
     self.client = _XmppClient('test@localhost', 'password')