def test_cpu_speed_ee(self): input_data = {} input_data['uname_a'] = UNAME_A_WRONG input_data['proc_cpuinfo'] = CPUINFO_CORRECT self.assertEquals(None, sat5_hw_reqs.cpu_speed(input_data))
def test_cpu_speed_ok(self): input_data = {} input_data['uname_a'] = UNAME_A_CORRECT input_data['proc_cpuinfo'] = CPUINFO_CORRECT self.assertEquals(2600.004, sat5_hw_reqs.cpu_speed(input_data))