on xenial help sign in
fix whitespaces

rename autopilot tests to match what they do

commit479deda9c47ef2a51520a4c89d5b7c6248cd4b8f authorMichael Zanetti <michael.zanetti@canonical.com> dateWed 12 Jun 2013, 09:59 (13 years ago) parentbc971cd
1 file changed+5−5
tests/autopilot/unity8/tests/testlockscreen.py+5−5
tests/autopilot/unity8/tests/testlockscreen.py+5−5
@@ -40,9 +40,9 @@ import os
4040from os import path
4141
4242
43−class TestShell(ShellTestCase, TestShellHelpers):
43+class TestLockscreens(ShellTestCase, TestShellHelpers):
4444
45− """Tests the Shell"""
45+ """Tests the Lockscreens"""
4646
4747 # Scenarios:
4848 # Fill in the scenarios to run the whole test suite with multiple configurations.
@@ -68,14 +68,14 @@ class TestShell(ShellTestCase, TestShellHelpers):
6868 divisor = 1
6969 while (sg.get_screen_width() < self.app_width / divisor or sg.get_screen_height() < self.app_height / divisor):
7070 divisor = divisor * 2
71− super(TestShell, self).setUp("%sx%s" % (self.app_width / divisor, self.app_height / divisor), "%s" % (self.grid_unit_px / divisor))
71+ super(TestLockscreens, self).setUp("%sx%s" % (self.app_width / divisor, self.app_height / divisor), "%s" % (self.grid_unit_px / divisor))
7272
7373 dash = self.main_window.get_dash()
7474 self.assertThat(dash.showLensOnLoaded, Eventually(Equals(""), timeout=30))
7575
7676 def test_unlock(self):
7777 self.unlock_greeter()
78−
78+
7979 pinPadLoader = self.main_window.get_pinPadLoader();
8080 self.assertThat(pinPadLoader.progress, Eventually(Equals(1)))
8181 lockscreen = self.main_window.get_lockscreen();
@@ -95,7 +95,7 @@ class TestShell(ShellTestCase, TestShellHelpers):
9595
9696 def test_unlock_wrong(self):
9797 self.unlock_greeter()
98−
98+
9999 pinPadLoader = self.main_window.get_pinPadLoader();
100100 self.assertThat(pinPadLoader.progress, Eventually(Equals(1)))
101101 lockscreen = self.main_window.get_lockscreen();