~nick-dedekind/unity8/indicators.hint-interval

« back to all changes in this revision

Viewing changes to tests/autopilot/unity8/shell/tests/test_system_integration.py

  • Committer: Nick Dedekind
  • Date: 2014-03-07 15:54:57 UTC
  • mfrom: (638.1.118 unity8)
  • Revision ID: nicholas.dedekind@gmail.com-20140307155457-f0s1zu5ll2czt3rq
merged with trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
"""Tests for system integration."""
21
21
 
22
22
import subprocess
 
23
import unittest
23
24
 
24
25
from unity8.shell.emulators import UnityEmulatorBase
25
26
from unity8.shell.tests import UnityTestCase, _get_device_emulation_scenarios
30
31
 
31
32
    scenarios = _get_device_emulation_scenarios()
32
33
 
 
34
    @unittest.skip("Disabled until we can investigate jenkins failure")
33
35
    def test_networkmanager_integration(self):
34
36
        self.launch_unity()
35
37
 
36
38
        # invoke policykit to check permissions
37
39
        pid = subprocess.check_output("pidof -s unity8", shell=True)
38
 
        retvalue = subprocess.check_call("pkcheck --action-id org.freedesktop.NetworkManager.enable-disable-network --process " + pid, shell=True)
 
40
        subprocess.check_call("pkcheck --action-id org.freedesktop.NetworkManager.enable-disable-network --process " + pid, shell=True)