on xenial help sign in
Fix unlock unity in fake sensors test and remove duplicated test.
commit6dea74ccc4198aa6c10552df29a85cc8f8471c01 authorRichard Huddie <richard.huddie@canonical.com> dateWed 24 Jun 2015, 11:37 (11 years ago) parentf46a3c4
2 files changed+1−7
tests/autopilot/unity8/shell/tests/test_helpers.py−6 tests/autopilot/unity8/shell/tests/test_rotation.py+1−1
tests/autopilot/unity8/shell/tests/test_helpers.py−6
@@ -125,12 +125,6 @@ class GenericScopeViewEmulatorTestCase(tests.DashBaseTestCase):
125125 self.assertIsInstance(preview, dash_helpers.Preview)
126126 self.assertTrue(preview.isCurrent)
127127
128− def test_open_preview_of_non_visible_item(self):
129− """Open an item that requires swiping to make it visible."""
130− preview = self.generic_scope.open_preview('2', 'Title.2.0')
131− self.assertIsInstance(preview, dash_emulators.Preview)
132− self.assertTrue(preview.isCurrent)
133−
134128
135129class DashAppsEmulatorTestCase(tests.DashBaseTestCase):
136130
tests/autopilot/unity8/shell/tests/test_rotation.py+1−1
@@ -58,7 +58,7 @@ class TestFakeSensor(RotationBase):
5858 def test_fake_sensor(self):
5959 unity_with_sensors = fixture_setup.LaunchUnityWithFakeSensors()
6060 self.useFixture(unity_with_sensors)
61− process_helpers.unlock_unity(unity_with_sensors.unity_proxy)
61+ process_helpers.unlock_unity()
6262 fake_sensors = unity_with_sensors.fake_sensors
6363 o_proxy = unity_with_sensors.main_win.select_single('OrientedShell')
6464