-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
change method name from cycler to cycle
- Loading branch information
Showing
1 changed file
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -232,9 +232,9 @@ def test_set_extended_mode(self, mock_dbus_proxy): | |
self.assertDictEqual(configuration, expected) | ||
|
||
@patch("checkbox_support.dbus.gnome_monitor.Gio.DBusProxy") | ||
def test_cycler(self, mock_dbus_proxy): | ||
def test_cycle(self, mock_dbus_proxy): | ||
""" | ||
Test the cycler could get the right monitors configuration | ||
Test the cycle could get the right monitors configuration | ||
and send to ApplyMonitorsConfig. | ||
""" | ||
|
||
|
@@ -291,7 +291,7 @@ def test_cycler(self, mock_dbus_proxy): | |
[], | ||
{}, | ||
) | ||
gnome_monitor.cycler() | ||
gnome_monitor.cycle() | ||
|
||
logical_monitors = [ | ||
(0, 0, 1.0, 0, True, [("eDP-1", "[email protected]", {})]), | ||
|
@@ -317,9 +317,9 @@ def test_cycler(self, mock_dbus_proxy): | |
) | ||
|
||
@patch("checkbox_support.dbus.gnome_monitor.Gio.DBusProxy") | ||
def test_cycler_no_cycling(self, mock_dbus_proxy): | ||
def test_cycle_no_cycling(self, mock_dbus_proxy): | ||
""" | ||
Test the cycler could get the right monitors configuration | ||
Test the cycle could get the right monitors configuration | ||
(without res and trans change) and send to ApplyMonitorsConfig. | ||
""" | ||
|
||
|
@@ -378,7 +378,7 @@ def test_cycler_no_cycling(self, mock_dbus_proxy): | |
) | ||
# mock callback | ||
mock_callback = MagicMock() | ||
gnome_monitor.cycler( | ||
gnome_monitor.cycle( | ||
res=False, trans=False, log=mock_callback, action=mock_callback | ||
) | ||
|
||
|