mirror of
https://gitlab.freedesktop.org/upower/upower.git
synced 2026-05-09 10:38:34 +02:00
trivial: In test case of previous commit, check OnLowBattery property
This commit is contained in:
parent
07b95b8e27
commit
03f67aabfe
1 changed files with 1 additions and 1 deletions
|
|
@ -435,7 +435,7 @@ class Tests(unittest.TestCase):
|
||||||
self.assertEqual(self.get_dbus_dev_property(bat0_up, 'NativePath'), bat0)
|
self.assertEqual(self.get_dbus_dev_property(bat0_up, 'NativePath'), bat0)
|
||||||
|
|
||||||
self.assertEqual(self.get_dbus_property('OnBattery'), True)
|
self.assertEqual(self.get_dbus_property('OnBattery'), True)
|
||||||
#self.assertEqual(self.get_dbus_property('OnLowBattery'), False)
|
self.assertEqual(self.get_dbus_property('OnLowBattery'), False)
|
||||||
self.stop_daemon()
|
self.stop_daemon()
|
||||||
|
|
||||||
def test_ups_ac(self):
|
def test_ups_ac(self):
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue