def test_getConnection(self): consumer = ConsumerBase() connection = consumer.getConnection() self.assertIsNotNone(connection)