@@ -20,21 +20,21 @@
20from __future__ import absolute_import
20from __future__ import absolute_import
22from unity8.shell.tests import UnityTestCase
22from unity8.shell.tests import UnityTestCase
23−
23+from unity8.shell.emulators import Indicators
25class IndicatorTestCase(UnityTestCase):
25class IndicatorTestCase(UnityTestCase):
27 scenarios = [
27 scenarios = [
28− ('Network', dict(indicator_name='indicator-network')),
28+ ('Network', dict(indicator_name=Indicators.network)),
29− ('Location', dict(indicator_name='indicator-location')),
29+ ('Location', dict(indicator_name=Indicators.location)),
30− ('Messaging', dict(indicator_name='indicator-messages')),
30+ ('Messaging', dict(indicator_name=Indicators.messaging)),
31− ('Power', dict(indicator_name='indicator-power')),
31+ ('Power', dict(indicator_name=Indicators.power)),
32− ('Sound', dict(indicator_name='indicator-sound')),
32+ ('Sound', dict(indicator_name=Indicators.sound)),
33− ('Datetime', dict(indicator_name='indicator-datetime')),
33+ ('Datetime', dict(indicator_name=Indicators.datetime)),
36 def test_indicator_exists(self):
36 def test_indicator_exists(self):
37− """The specific indicators tab can be found."""
37+ """The tab of a given indicator can be found."""
39 self.launch_unity()
39 self.launch_unity()
40 self.main_window.get_greeter().swipe()
40 self.main_window.get_greeter().swipe()