Searched refs:ac_state (Results 1 – 1 of 1) sorted by relevance
39 ac_state = self.get_ac_status(host)41 self.test_charge_state(ac_state, bat_state)43 ac_state = self.get_ac_status(host)45 self.test_discharge_state(ac_state, bat_state)49 def test_charge_state(self, ac_state, bat_state): argument57 if not (ac_state == "yes" and (bat_state == "Charging"63 def test_discharge_state(self, ac_state, bat_state): argument71 if not (ac_state == "no" and bat_state == "Discharging"):