Close the Touch devices after the tests.
commit8ab4fa876d9d06d7b88852081ce77dc2c109ed8a
authorLeo Arias <leo.arias@canonical.com>
dateThu 9 Jan 2014, 15:23 (13 years ago)
parent040e106
tests/autopilot/unity8/shell/tests/__init__.py+1
@@ -147,6 +147,7 @@ class UnityTestCase(AutopilotTestCase):
147147 if model() != "Desktop":
148148 from autopilot.input import _uinput
149149 _uinput._touch_device = _uinput.create_touch_device()
150+ self.addCleanup(_uinput._touch_device.close)
150151 ####
151152
152153 self.touch = Touch.create()