def setUp(self): (self.mem_active, self.mem_total, self.mem_cached, self.mem_free, self.swap_total, self.swap_free) = mem_stat.mem_stats()
def test_mem_total(self): _, value = mem_stat.mem_stats() self.assertTrue(value > 0, value)
def test_mem_used(self): value, _ = mem_stat.mem_stats() self.assertTrue(value > 0, value)