0
rated 0 times
[
0]
[
0]
/ answers: 1 / hits: 1858
/ 1 Year ago, mon, may 29, 2023, 12:04:22
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/loader.py", line 252, in _find_tests module = self._get_module_from_name(name)
File "/usr/lib/python2.7/unittest/loader.py", line 230, in _get_module_from_name__import__(name)
File "/home/merlijn/autopilottests/ubuntu-sdk-tutorials/getting-started/CurrencyConverter/tests/autopilot/CurrencyConverter/tests/__init__.py", line 25, in <module>
from autopilot.input import Mouse, Touch, Pointer
ImportError: No module named input
unittest.loader.ModuleImportFailure.CurrencyConverter.tests.test_CurrencyConverter
If you need more information, feel free to ask.
More From » application-development