20 """Tests for system integration."""
25 from autopilot
import platform
26 from ubuntuuitoolkit
import ubuntu_scenarios
31 class SystemIntegrationTests(UnityTestCase):
33 scenarios = ubuntu_scenarios.get_device_simulation_scenarios()
36 platform.model() ==
"Desktop",
37 "Test is broken on otto, see bug 1281634.")
38 def test_networkmanager_integration(self):
42 pid = subprocess.check_output(
43 [
"pidof",
"-s",
"unity8"], universal_newlines=
True)
44 subprocess.check_call(
45 "pkcheck --action-id "
46 "org.freedesktop.NetworkManager.enable-disable-network "