def test_process_two_brokers_with_space_between(self):
     brokers = process_brokers('hostname:123, otherhost:456')
     self.assertEqual(brokers, [('hostname', 123), ('otherhost', 456)])
 def test_process_two_brokers_with_space_between(self):
     brokers = process_brokers('hostname:123, otherhost:456')
     self.assertEqual(brokers, [('hostname', 123), ('otherhost', 456)])
 def test_process_just_one_broker(self):
     brokers = process_brokers('hostname:123')
     self.assertEqual(brokers, [('hostname', 123)])
 def test_process_just_one_broker(self):
     brokers = process_brokers('hostname:123')
     self.assertEqual(brokers, [('hostname', 123)])