Exemplo n.º 1
0
 def test_process_two_brokers_with_space_between(self):
     brokers = process_brokers('hostname:123, otherhost:456')
     self.assertEqual(brokers, [('hostname', 123), ('otherhost', 456)])
Exemplo n.º 2
0
 def test_process_two_brokers_with_space_between(self):
     brokers = process_brokers('hostname:123, otherhost:456')
     self.assertEqual(brokers, [('hostname', 123), ('otherhost', 456)])
Exemplo n.º 3
0
 def test_process_just_one_broker(self):
     brokers = process_brokers('hostname:123')
     self.assertEqual(brokers, [('hostname', 123)])
Exemplo n.º 4
0
 def test_process_just_one_broker(self):
     brokers = process_brokers('hostname:123')
     self.assertEqual(brokers, [('hostname', 123)])