Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm on Ubuntu 13.04. I'm following this tutorial to write autopilot tests. I get an error when I try to run or list the autopilot tests:

$autopilot list CurrencyConverter

Loading tests from: /home/merlijn/autopilottests/ubuntu-sdk-tutorials/getting-    started/CurrencyConverter/tests/autopilot

Failed to import test module: CurrencyConverter.tests.test_CurrencyConverter Traceback (most recent call last):
File "/usr/lib/python2.7/unittest/", line 252, in _find_tests module = self._get_module_from_name(name)
File "/usr/lib/python2.7/unittest/", line 230, in _get_module_from_name__import__(name)
File "/home/merlijn/autopilottests/ubuntu-sdk-tutorials/getting-started/CurrencyConverter/tests/autopilot/CurrencyConverter/tests/", line 25, in <module>
from autopilot.input import Mouse, Touch, Pointer
ImportError: No module named input


If you need more information, feel free to ask.

share|improve this question
up vote 0 down vote accepted

Today I had similar problem. Here are my notes resolve:

NOTE: had to get daily update version of autopilot

Then everything worked.

share|improve this answer
Thanks, it worked! – Galgalesh Jul 4 '13 at 12:00

I'm one of the autopilot devs.

The function you're looking for was introduced in autopilot 1.3. To check your autopilot version, run:

dpkg -l python-autopilot

If you are running saucy, you will get the very latest version of autopilot every time you do an upgrade. For all other distro released, you will need to add the autopilot PPA, like this:

sudo add-apt-repository ppa:autopilot/ppa

If you have any more questions, you might want to join us in #ubuntu-autopilot, on

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.