Ubuntu Pastebin

Paste from rhuddie at Mon, 20 Jul 2015 15:31:14 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
from ubuntu_keyboard.emulators.keyboard import Keyboard
from autopilot.testcase import AutopilotTestCase


class OSKTests(AutopilotTestCase):

        def test_dismiss_osk(self):
            kb = Keyboard()
            kb.dismiss()
            self.assertFalse(kb.is_available())
Download as text