def single_iteration(): try: system_metrics.get_cpu_info() system_metrics.get_disk_info() system_metrics.get_mem_info() system_metrics.get_net_info() system_metrics.get_proc_info() puppet_metrics.get_puppet_summary() finally: ts_mon.flush() return True
def test_proc_info(self): system_metrics.get_proc_info() self.assertGreater(system_metrics.proc_count.get(), 10)