

@classmethod
def setUpClass(cls):
    rc = controller.RootController()
    actual_out = util.capture_stdout(rc.execute, ['show', 'distribution'])
    TestShowDistribution.output_list = test_util.get_separate_output(actual_out, 'Distribution in Seconds')
    TestShowDistribution.is_bar_present = False
    for item in TestShowDistribution.output_list:
        if ('~~test - TTL Distribution in Seconds~~' in item):
            TestShowDistribution.test_ttl_distri = item
        elif ('~~bar - TTL Distribution in Seconds~~' in item):
            TestShowDistribution.bar_ttl_distri = item
            TestShowDistribution.is_bar_present = True
        elif ('~~~~' in item):
            TestShowDistribution.test_namespace_config = item

dataset/ETHPy150Open aerospike/aerospike-admin/test/e2e/test_show.py TestShowDistribution.setUpClass/original