on xenial help sign in
Skip indicator-bluetooth on manta.
fc0cab3Allan LeSage
tests/autopilot/unity8/indicators/tests/test_indicators.py+12
@@ -54,6 +54,12 @@ class IndicatorExistsTestCase(IndicatorTestCase):
54 IndicatorTestCase.device_emulation_scenarios
54 IndicatorTestCase.device_emulation_scenarios
55 )
55 )
56
56
57+ def setUp(self):
58+ super(IndicatorExistsTestCase, self).setUp()
59+ if (platform.model() == 'Nexus 10' and
60+ self.indicator_name == 'indicator-bluetooth'):
61+ self.skipTest('Nexus 10 does not have bluetooth at the moment.')
62+
57 def test_indicator_exists(self):
63 def test_indicator_exists(self):
58 self.main_window._get_indicator_widget(
64 self.main_window._get_indicator_widget(
59 self.indicator_name
65 self.indicator_name
@@ -83,6 +89,12 @@ class IndicatorPageTitleMatchesWidgetTestCase(IndicatorTestCase):
83 IndicatorTestCase.device_emulation_scenarios
89 IndicatorTestCase.device_emulation_scenarios
84 )
90 )
85
91
92+ def setUp(self):
93+ super(IndicatorExistsTestCase, self).setUp()
94+ if (platform.model() == 'Nexus 10' and
95+ self.indicator_name == 'indicator-bluetooth'):
96+ self.skipTest('Nexus 10 does not have bluetooth at the moment.')
97+
86 def test_indicator_page_title_matches_widget(self):
98 def test_indicator_page_title_matches_widget(self):
87 """Swiping open an indicator must show its correct title.
99 """Swiping open an indicator must show its correct title.
88
100