on xenial help sign in
updated fixture name
commitafcbaf09e432198d17e7e513c26efd5e20ffe4c4 authorNick Dedekind <nick.dedekind@canonical.com> dateThu 12 Mar 2015, 14:32 (12 years ago) parentc125b77
2 files changed+4−4
tests/autopilot/unity8/fixture_setup.py+3−3 tests/autopilot/unity8/indicators/tests/test_action_latency.py+1−1
tests/autopilot/unity8/fixture_setup.py+3−3
@@ -100,7 +100,7 @@ class DisplayRotationLock(fixtures.Fixture):
100100 ]
101101 subprocess.check_output(command)
102102
103−class LaunchTestIndicatorService(fixtures.Fixture):
103+class LaunchMockIndicatorService(fixtures.Fixture):
104104
105105 """Fixture to launch the indicator test service."""
106106
@@ -112,12 +112,12 @@ class LaunchTestIndicatorService(fixtures.Fixture):
112112 :param boolean ensure_not_running: Make sure service is not running
113113
114114 """
115− super(LaunchTestIndicatorService, self).__init__()
115+ super(LaunchMockIndicatorService, self).__init__()
116116 self.variables = variables
117117 self.ensure_not_running = ensure_not_running
118118
119119 def setUp(self):
120− super(LaunchTestIndicatorService, self).setUp()
120+ super(LaunchMockIndicatorService, self).setUp()
121121 if self.ensure_not_running:
122122 self.ensure_service_not_running()
123123 self.addCleanup(self.stop_service)
tests/autopilot/unity8/indicators/tests/test_action_latency.py+1−1
@@ -52,7 +52,7 @@ class TestIndicatorBaseTestCase(tests.IndicatorTestCase):
5252 self.indicator_page = self.indicator.open()
5353
5454 def launch_indicator_service(self, variables):
55− launch_service_fixture = fixture_setup.LaunchTestIndicatorService(variables)
55+ launch_service_fixture = fixture_setup.LaunchMockIndicatorService(variables)
5656 self.useFixture(launch_service_fixture)
5757
5858