def test_bar_namespace(self):
        """
        Asserts namespace config output with heading, header & parameters.
        ToDo: test for values as well
        """
        if not TestShowConfig.is_bar_present:
            return
        
        exp_heading = "~~bar Namespace Configuration~~"
        exp_header = "NODE"
        exp_params_bar = [  'allow-nonxdr-writes',
                            'allow-xdr-writes',
                            'cold-start-evict-ttl',
                            'conflict-resolution-policy',
                            'default-ttl',
                            'disallow-null-setname',
                            'enable-xdr',
                            'evict-tenths-pct',
                            'high-water-disk-pct',
                            'high-water-memory-pct',
                            'ldt-enabled',
                            'ldt-page-size',
                            'max-ttl',
                            'memory-size',
                            'ns-forward-xdr-writes',
                            'read-consistency-level-override',
                            'repl-factor',
                            'sets-enable-xdr',
                            'single-bin',
                            'stop-writes-pct',
                            'total-bytes-memory',
                            'write-commit-level-override'
                        ] 
        
        actual_heading, actual_header, actual_params = test_util.parse_output(TestShowConfig.bar_namespace_config)        
       
        self.assertTrue(exp_heading in actual_heading)
        self.assertTrue(exp_header in actual_header)
        self.assertTrue(set(exp_params_bar).issubset(set(actual_params)))
dataset/ETHPy150Open aerospike/aerospike-admin/test/e2e/test_show.py/TestShowConfig.test_bar_namespace/original