mirror of
https://gitlab.freedesktop.org/upower/power-profiles-daemon.git
synced 2026-05-07 04:58:21 +02:00
trivial: correct a spelling error in a comment
This commit is contained in:
parent
85f3bb066c
commit
6eb2981352
1 changed files with 1 additions and 1 deletions
|
|
@ -1080,7 +1080,7 @@ class Tests(dbusmock.DBusTestCase):
|
|||
self.assertEventually(lambda: self.read_sysfs_file("sys/firmware/acpi/platform_profile") == b'low-power')
|
||||
self.assertEqual(self.get_dbus_property('ActiveProfile'), 'power-saver')
|
||||
|
||||
# And mimick a user pressing a Fn+H
|
||||
# And mimic a user pressing a Fn+H
|
||||
with open(os.path.join(self.testbed.get_root_dir(), "sys/firmware/acpi/platform_profile"), 'w') as platform_profile:
|
||||
platform_profile.write('performance\n')
|
||||
self.assertEventually(lambda: self.get_dbus_property('ActiveProfile') == 'performance')
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue