← Back to team overview

touch-packages team mailing list archive

[Bug 1169355] Re: Asking for a specific autopilot stack backend should either succeed or raise an exception

 

raring has seen the end of its life and is no longer receiving any
updates. Marking the raring task for this ticket as "Won't Fix".

** Changed in: autopilot (Ubuntu Raring)
       Status: New => Won't Fix

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to autopilot in Ubuntu.
https://bugs.launchpad.net/bugs/1169355

Title:
  Asking for a specific autopilot stack backend should either succeed or
  raise an exception

Status in Autopilot:
  Fix Released
Status in autopilot package in Ubuntu:
  Fix Released
Status in autopilot source package in Raring:
  Won't Fix

Bug description:
  Currently you can do this:

  >>> from autopilot.input import Keyboard
  >>> kbd = Keyboard.create("UInput")
  >>> type(kbd)
  autopilot.input._X11.Keyboard

  
  So here autopilot has silently decided that it cannot give us the backend variant we asked for, and has decided that giving us anything is better than raising an exception. 

  However, I'm not sure that's a good idea.

  Certainly creating a keyboard with:

  kbd = Keyboard.create()

  should return any keyboard. But if we ask for a specific type, we
  should either get that type, or fail.

To manage notifications about this bug go to:
https://bugs.launchpad.net/autopilot/+bug/1169355/+subscriptions