

def test_bar_namespace(self):
    '\n        This test will assert <b> bar Namespace Statistics </b> output for heading, header and parameters.\n        ToDo: test for values as well\n        '
    if (not TestShowStatistics.is_bar_present):
        return
    exp_heading = '~bar Namespace Statistics~'
    exp_header = 'NODE'
    exp_params = ['allow-nonxdr-writes', 'allow-xdr-writes', 'available-bin-names', 'cold-start-evict-ttl', 'conflict-resolution-policy', 'current-time', 'data-used-bytes-memory', 'default-ttl', 'disallow-null-setname', 'enable-xdr', 'evict-tenths-pct', 'evicted-objects', 'expired-objects', 'free-pct-memory', 'high-water-disk-pct', 'high-water-memory-pct', 'hwm-breached', 'index-used-bytes-memory', 'ldt-enabled', 'ldt-page-size', 'master-objects', 'master-sub-objects', 'max-ttl', 'max-void-time', 'memory-size', 'migrate-rx-partitions-initial', 'migrate-rx-partitions-remaining', 'migrate-tx-partitions-imbalance', 'migrate-tx-partitions-initial', 'migrate-tx-partitions-remaining', 'non-expirable-objects', 'ns-forward-xdr-writes', 'nsup-cycle-duration', 'nsup-cycle-sleep-pct', 'objects', 'prole-objects', 'prole-sub-objects', 'read-consistency-level-override', 'repl-factor', 'set-deleted-objects', 'sets-enable-xdr', 'sindex-used-bytes-memory', 'single-bin', 'stop-writes', 'stop-writes-pct', 'sub-objects', 'total-bytes-memory', 'type', 'used-bytes-memory', 'write-commit-level-override']
    (actual_heading, actual_header, actual_params) = test_util.parse_output(TestShowStatistics.bar_namespace_stats)
    self.assertTrue((exp_heading in actual_heading))
    self.assertTrue((exp_header in actual_header))
    self.assertTrue(set(exp_params).issubset(set(self)))

dataset/ETHPy150Open aerospike/aerospike-admin/test/e2e/test_show.py TestShowStatistics.test_bar_namespace/VarMisuse@189/611 `actual_params`->`self`