on xenial help sign in
SkipIf the setUp for Desktop instead of test itself.
commita3474adaa363f70138d58d735279abaa0e5ca8b1 authorAllan LeSage <allan.lesage@canonical.com> dateTue 26 Nov 2013, 15:10 (13 years ago) parent176620d
1 file changed+4−2
tests/autopilot/unity8/indicators/tests/test_indicators.py+4−2
tests/autopilot/unity8/indicators/tests/test_indicators.py+4−2
@@ -37,10 +37,12 @@ class IndicatorTestCase(UnityTestCase):
3737 ('Sound', dict(indicator_name='indicator-sound')),
3838 ]
3939
40− @skipIf(platform.image_codename()=='Desktop', "phablet-only test")
40+ @skipIf(platform.image_codename()=='Desktop', "Unity8/phablet-only test!")
41+ def setUp(self):
42+ super(UnityTestCase, self).setUp()
43+
4144 def test_indicator_exists(self):
4245 """The tab of a given indicator can be found."""
43−
4446 self.launch_unity()
4547 self.main_window.get_greeter().swipe()
4648 indicator = self.main_window.get_indicator(self.indicator_name)