Esempio n. 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)
Esempio n. 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)
Esempio n. 3
0
 def setUp(self):
     self.client = _XmppClient('test@localhost', 'password')
Esempio n. 4
0
 def setUp(self):
     self.client = _XmppClient('test@localhost', 'password')