def test_cpu_percent_idle(self):
        value = cpu_stat.cpu_percents(self.sample_duration)['idle']
        self.assertTrue(0.0 <= value <= 100.0, value)
dataset/ETHPy150Open cgoldberg/linux-metrics/linux_metrics/test_cpu_stat.py/TestCPUStats.test_cpu_percent_idle/original