Comment 2 for bug 1428114

Revision history for this message
Leo Arias (elopio) wrote :

I agree with zombie that unit tests are needed. Ideally, you would find a nice way to fake the OSK and trigger the events it is supposed to trigger.

About the autopilot tests, I think we have everything we need now. We need to extend get_keyboard with:

if model == touch:
    if maliit is not running with testability:
       restart malit with testability
    return ubuntu_keyboard.emulators.keyboard.Keyboard()
else:
    return input.Keyboard.create()