@@ -31,5 +31,5 @@ class SystemIntegrationTests(UnityTestCase):
31 scenarios = _get_device_emulation_scenarios()
31 scenarios = _get_device_emulation_scenarios()
33 def test_networkmanager_integration(self):
33 def test_networkmanager_integration(self):
34− retvalue = os.system("pkcheck --action-id org.freedesktop.NetworkManager.enable-disable-network --process $$")
34+ retvalue = os.system("pkcheck --action-id org.freedesktop.NetworkManager.enable-disable-network --process `pidof -s unity8`")
35 self.assertThat(retvalue, Equals(0))
35 self.assertThat(retvalue, Equals(0))