示例#1
0
文件: bus_test.py 项目: gdraynz/nyuki
 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)
示例#2
0
文件: bus_test.py 项目: gdraynz/nyuki
 def setUp(self):
     self.client = _BusClient('login@localhost', 'password')