on xenial help sign in
Skip indicators tests on Desktop profile due to lack of introspection.
commit49a62f41ea09a4aad3bd49ec834e5022018c2975 authorAllan LeSage <allan.lesage@canonical.com> dateTue 29 Oct 2013, 17:28 (13 years ago) parent10edf66
1 file changed+3−1
tests/autopilot/unity8/indicators/tests/test_indicators.py+3−1
tests/autopilot/unity8/indicators/tests/test_indicators.py+3−1
@@ -19,8 +19,9 @@
1919
2020from __future__ import absolute_import
2121
22+from autopilot import platform
2223from unity8.shell.tests import UnityTestCase
23−
24+from testtools import skipIf
2425
2526class IndicatorTestCase(UnityTestCase):
2627
@@ -34,6 +35,7 @@ class IndicatorTestCase(UnityTestCase):
3435 ('Bluetooth', dict(indicator_name='indicator-bluetooth')),
3536 ]
3637
38+ @skipIf(platform.image_codename()=='Desktop', "phablet-only test")
3739 def test_indicator_exists(self):
3840 """The tab of a given indicator can be found."""
3941