on xenial help sign in
Skip indicators tests on Desktop profile due to lack of introspection.
49a62f4Allan LeSage
tests/autopilot/unity8/indicators/tests/test_indicators.py+3−1
@@ -19,8 +19,9 @@
19
19
20from __future__ import absolute_import
20from __future__ import absolute_import
21
21
22+from autopilot import platform
22from unity8.shell.tests import UnityTestCase
23from unity8.shell.tests import UnityTestCase
23−
24+from testtools import skipIf
24
25
25class IndicatorTestCase(UnityTestCase):
26class IndicatorTestCase(UnityTestCase):
26
27
@@ -34,6 +35,7 @@ class IndicatorTestCase(UnityTestCase):
34 ('Bluetooth', dict(indicator_name='indicator-bluetooth')),
35 ('Bluetooth', dict(indicator_name='indicator-bluetooth')),
35 ]
36 ]
36
37
38+ @skipIf(platform.image_codename()=='Desktop', "phablet-only test")
37 def test_indicator_exists(self):
39 def test_indicator_exists(self):
38 """The tab of a given indicator can be found."""
40 """The tab of a given indicator can be found."""
39
41