on xenial help sign in
Cleanup
commitc5baa0a7449920c4e4404bbec857f41a18e8501a authorChristopher Lee <chris.lee@canonical.com> dateWed 17 Jul 2013, 11:20 (13 years ago) parent3062d1d
3 files changed+4−3
tests/autopilot/unity8/shell/tests/__init__.py−1 tests/autopilot/unity8/shell/tests/test_hud.py+1−1 tests/autopilot/unity8/shell/tests/test_lock_screen.py+3−1
tests/autopilot/unity8/shell/tests/__init__.py−1
@@ -77,7 +77,6 @@ class Unity8TestCase(AutopilotTestCase):
7777 else:
7878 self.grid_size = int(self.grid_unit_px / scale_divisor)
7979 self.patch_environment("GRID_UNIT_PX", str(self.grid_size))
80− logger.info(">>> Seting grid size: %s", self.grid_size)
8180
8281 def _geo_larger_than_display(self, width, height):
8382 screen = Display.create()
tests/autopilot/unity8/shell/tests/test_hud.py+1−1
@@ -11,10 +11,10 @@ from collections import namedtuple
1111
1212from unity8.shell.tests import Unity8TestCase, _get_device_emulation_scenarios
1313
14+from autopilot.display import Display
1415from autopilot.input import Touch
1516from testtools.matchers import Equals, MismatchError
1617from autopilot.matchers import Eventually
17−from autopilot.display import Display
1818from autopilot.platform import model
1919
2020
tests/autopilot/unity8/shell/tests/test_lock_screen.py+3−1
@@ -8,7 +8,7 @@
88
99from __future__ import absolute_import
1010
11−from unity8.shell.tests import Unity8TestCase
11+from unity8.shell.tests import Unity8TestCase, _get_device_emulation_scenarios
1212from unity8.shell.tests.helpers import with_lightdm_mock
1313
1414from autopilot.matchers import Eventually
@@ -25,6 +25,8 @@ class TestLockscreen(Unity8TestCase):
2525
2626 """Tests for the lock screen."""
2727
28+ scenarios = _get_device_emulation_scenarios()
29+
2830 @with_lightdm_mock("single-pin")
2931 def test_can_unlock_pin_screen(self):
3032 """Must be able to unlock the PIN entry lock screen."""