def test_bar_ttl(self):
        if not TestShowDistribution.is_bar_present:
            return
        exp_heading = "~~bar - TTL Distribution in Seconds~~"
        exp_header = """Percentage of records having ttl less than or equal
                        to value measured in Seconds
                        Node   10%   20%   30%   40%   50%   60%   70%   80%   90%   100%"""
        
        actual_heading, actual_header, actual_params = test_util.parse_output(TestShowDistribution.bar_ttl_distri, horizontal=True, mearge_header = False)
        if 'Node' not in actual_header:
            actual_header += ' ' + TestShowDistribution.bar_ttl_distri.split('\n')[3]
        exp_header = ' '.join(exp_header.split())
        actual_header = ' '.join([item for item in actual_header.split()
                                  if not item.startswith('\x1b')])

        self.assertTrue(exp_heading in actual_heading)
        self.assertEqual(exp_header.strip(), actual_header.strip())
Test that the default response code of a fake request is success.
dataset/ETHPy150Open aerospike/aerospike-admin/test/e2e/test_show.py/TestShowDistribution.test_bar_ttl--crossover with--dataset/ETHPy150Open twisted/nevow/nevow/test/test_testutil.py/TestFakeRequest.test_defaultResponseCode