on xenial help sign in
Re-enable test_networkmanager_integration autopilot test on phone platforms
ef3b234Michael Terry
tests/autopilot/unity8/shell/tests/test_system_integration.py+4−1
@@ -22,6 +22,7 @@
22import subprocess
22import subprocess
23import unittest
23import unittest
24
24
25+from autopilot import platform
25from unity8.shell.emulators import UnityEmulatorBase
26from unity8.shell.emulators import UnityEmulatorBase
26from unity8.shell.tests import UnityTestCase, _get_device_emulation_scenarios
27from unity8.shell.tests import UnityTestCase, _get_device_emulation_scenarios
27
28
@@ -31,8 +32,10 @@ class SystemIntegrationTests(UnityTestCase):
31
32
32 scenarios = _get_device_emulation_scenarios()
33 scenarios = _get_device_emulation_scenarios()
33
34
34− @unittest.skip("Disabled until we can investigate jenkins failure")
35 def test_networkmanager_integration(self):
35 def test_networkmanager_integration(self):
36+ if platform.model() == 'Desktop':
37+ self.skipTest("Test is broken on otto, see bug 1281634.")
38+
36 self.launch_unity()
39 self.launch_unity()
37
40
38 # invoke policykit to check permissions
41 # invoke policykit to check permissions