def test_cpu_cache_ee(self):
     input_data = {}
     input_data['uname_a'] = UNAME_A_WRONG
     input_data['proc_cpuinfo'] = CPUINFO_CORRECT
     self.assertEquals(None, sat5_hw_reqs.cpu_cache(input_data))
예제 #2
0
 def test_cpu_cache_ee(self):
     input_data = {}
     input_data['uname_a'] = UNAME_A_WRONG
     input_data['proc_cpuinfo'] = CPUINFO_CORRECT
     self.assertEquals(None, sat5_hw_reqs.cpu_cache(input_data))
 def test_cpu_cache_ok(self):
     input_data = {}
     input_data['uname_a'] = UNAME_A_CORRECT
     input_data['proc_cpuinfo'] = CPUINFO_CORRECT
     self.assertEquals(20480, sat5_hw_reqs.cpu_cache(input_data))
예제 #4
0
 def test_cpu_cache_ok(self):
     input_data = {}
     input_data['uname_a'] = UNAME_A_CORRECT
     input_data['proc_cpuinfo'] = CPUINFO_CORRECT
     self.assertEquals(20480, sat5_hw_reqs.cpu_cache(input_data))