@@ -38,10 +38,7 @@ class TestIndicatorBaseTestCase(tests.IndicatorTestCase):
3838 def setUp(self):
3939 super(TestIndicatorBaseTestCase, self).setUp()
4040
41− environment = {}
42− environment['ARGS'] = '-t {0}'\
43− .format(self.action_delay)
44− self.launch_indicator_service(environment)
41+ self.launch_indicator_service()
4542
4643 # wait for the indicator to appear in unity
4744 self.indicator = indicators.TestIndicator(self.main_window)
@@ -51,8 +48,8 @@ class TestIndicatorBaseTestCase(tests.IndicatorTestCase):
5148 )
5249 self.indicator_page = self.indicator.open()
5350
54− def launch_indicator_service(self, variables):
55− launch_service_fixture = fixture_setup.LaunchMockIndicatorService(variables)
51+ def launch_indicator_service(self):
52+ launch_service_fixture = fixture_setup.LaunchMockIndicatorService(self.action_delay)
5653 self.useFixture(launch_service_fixture)
5754
5855
@@ -61,9 +58,9 @@ class TestServerValueUpdate(TestIndicatorBaseTestCase):
6158 """Test that an action causes the server to update"""
6259
6360 time_scenarios = [
64− ('Low', dict(action_delay=0)),
65− ('Medium', dict(action_delay=2500)),
66− ('High', dict(action_delay=8000)),
61+ ('Low', {'action_delay': 0}),
62+ ('Medium', {'action_delay': 2500}),
63+ ('High', {'action_delay': 8000}),
6764 ]
6865 scenarios = multiply_scenarios(
6966 time_scenarios,
@@ -106,7 +103,7 @@ class TestBuffering(TestIndicatorBaseTestCase):
106103 """
107104 action_delay = 2500
108105
109− def test_buffered_switch(self):
106+ def test_switch_buffers_actvations(self):
110107
111108 switch = self.indicator_page.get_switcher()
112109 switch.change_state()
@@ -142,7 +139,7 @@ class TestBuffering(TestIndicatorBaseTestCase):
142139 Equals(switch_menu.serverChecked)
143140 )
144141
145− def test_buffered_slider(self):
142+ def test_slider_buffers_activations(self):
146143
147144 slider = self.indicator_page.get_slider()
148145 original_value = slider.value;