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