on xenial help sign in
fixed senarios for devices
commit56e338a96d13b3fb436156ec1b3ee25893440548 authorNick Dedekind <nick.dedekind@canonical.com> dateThu 12 Mar 2015, 15:01 (12 years ago) parentafcbaf0
2 files changed+2−3
tests/autopilot/unity8/indicators/__init__.py−1 tests/autopilot/unity8/indicators/tests/__init__.py+2−2
tests/autopilot/unity8/indicators/__init__.py−1
@@ -16,7 +16,6 @@
1616# along with this program. If not, see <http://www.gnu.org/licenses/>.
1717
1818import ubuntuuitoolkit
19−import subprocess
2019from autopilot import introspection
2120
2221from unity8.shell import emulators
tests/autopilot/unity8/indicators/tests/__init__.py+2−2
@@ -34,8 +34,8 @@ class IndicatorTestCase(tests.UnityTestCase):
3434class DeviceIndicatorTestCase(IndicatorTestCase):
3535
3636 def setUp(self):
37− # if platform.model() == 'Desktop':
38− # self.skipTest('Test cannot be run on the desktop.')
37+ if platform.model() == 'Desktop':
38+ self.skipTest('Test cannot be run on the desktop.')
3939 super(DeviceIndicatorTestCase, self).setUp()
4040 self.unity_proxy = self.launch_unity()
4141 process_helpers.unlock_unity(self.unity_proxy)