def test_getKafkaBroker(kafkaBroker): AppConfig.kafka_broker = kafkaBroker res = AppConfig.getKafkaBroker(AppConfig) assert res == kafkaBroker
def __init__(self): appConfig = AppConfig() self.logger = appConfig.getLogger() self.broker = appConfig.getKafkaBroker()