예제 #1
0
def test_getKafkaBroker(kafkaBroker):
    AppConfig.kafka_broker = kafkaBroker
    res = AppConfig.getKafkaBroker(AppConfig)
    assert res == kafkaBroker
예제 #2
0
 def __init__(self):
     appConfig = AppConfig()
     self.logger = appConfig.getLogger()
     self.broker = appConfig.getKafkaBroker()