on xenial help sign in
fixed senarios for devices
56e338aNick Dedekind
tests/autopilot/unity8/indicators/__init__.py−1
@@ -16,7 +16,6 @@
16# along with this program. If not, see <http://www.gnu.org/licenses/>.
16# along with this program. If not, see <http://www.gnu.org/licenses/>.
17
17
18import ubuntuuitoolkit
18import ubuntuuitoolkit
19−import subprocess
20from autopilot import introspection
19from autopilot import introspection
21
20
22from unity8.shell import emulators
21from unity8.shell import emulators
tests/autopilot/unity8/indicators/tests/__init__.py+2−2
@@ -34,8 +34,8 @@ class IndicatorTestCase(tests.UnityTestCase):
34class DeviceIndicatorTestCase(IndicatorTestCase):
34class DeviceIndicatorTestCase(IndicatorTestCase):
35
35
36 def setUp(self):
36 def setUp(self):
37− # if platform.model() == 'Desktop':
37+ if platform.model() == 'Desktop':
38− # self.skipTest('Test cannot be run on the desktop.')
38+ self.skipTest('Test cannot be run on the desktop.')
39 super(DeviceIndicatorTestCase, self).setUp()
39 super(DeviceIndicatorTestCase, self).setUp()
40 self.unity_proxy = self.launch_unity()
40 self.unity_proxy = self.launch_unity()
41 process_helpers.unlock_unity(self.unity_proxy)
41 process_helpers.unlock_unity(self.unity_proxy)