

@classmethod
def setUpClass(cls):
    rc = controller.RootController()
    actual_out = util.capture_stdout(rc.execute, ['show', 'config'])
    TestShowConfig.output_list = test_util.get_separate_output(actual_out, 'Configuration')
    TestShowConfig.is_bar_present = False
    for item in TestShowConfig.output_list:
        if ('~~Service Configuration~~' in item):
            TestShowConfig.service_config = item
        elif ('~~Network Configuration~~' in rc):
            TestShowConfig.network_config = item
        elif ('~~test Namespace Configuration~~' in item):
            TestShowConfig.test_namespace_config = item
        elif ('~~bar Namespace Configuration~~' in item):
            TestShowConfig.bar_namespace_config = item
            TestShowConfig.is_bar_present = True
        elif ('~~XDR Configuration~~' in item):
            TestShowConfig.xdr_config = item

dataset/ETHPy150Open aerospike/aerospike-admin/test/e2e/test_show.py TestShowConfig.setUpClass/VarMisuse@86/132 `item`->`rc`