Tests running...
No handlers could be found for logger "autopilot.emulators.X11"
======================================================================
FAIL: autopilot.tests.test_hud.HudTests.test_restore_focus
----------------------------------------------------------------------
test-log: {{{
17:31:45.413 DEBUG autopilot/emulators/unity/__init__.py:49 - Querying unity for state piece: '//HudController'
17:31:48.092 DEBUG autopilot/emulators/unity/__init__.py:142 - Refreshing state for <autopilot.emulators.unity.hud.HudController object at 0x8beb5ac>
17:31:48.092 DEBUG autopilot/emulators/unity/__init__.py:61 - Getting state for object HudController with id 17
17:31:48.092 DEBUG autopilot/emulators/unity/__init__.py:49 - Querying unity for state piece: '//HudController[id=17]'
}}}
Traceback (most recent call last):
File "autopilot/tests/test_hud.py", line 152, in test_restore_focus
self.assertEqual(b.application_is_focused('Calculator'), True)
MismatchError: False != True
Ran 1 test in 2.767s
FAILED (failures=1)
------------------------------------------------------------------
... aborts with:
------------------------------------------------------------------
Xlib.protocol.request.QueryExtension
Traceback (most recent call last):
File "./tools/autopilot", line 145, in <module>
main()
File "./tools/autopilot", line 139, in main
run_tests(args)
File "./tools/autopilot", line 106, in run_tests
test_suite = loader.loadTestsFromNames(args.test)
File "/usr/lib/python2.7/unittest/loader.py", line 128, in loadTestsFromNames
suites = [self.loadTestsFromName(name, module) for name in names]
File "/usr/lib/python2.7/unittest/loader.py", line 100, in loadTestsFromName
parent, obj = obj, getattr(obj, part)
AttributeError: 'module' object has no attribute 'HudTests'
------------------------------------------------------------------
I cannot replicate the test-case Seb described in the bug-entry.
Running...
unity/ tools/autopilot run autopilot. tests.HudTests. test_restore_ focus
... aborts with: ------- ------- ------- ------- ------- ------- ------- ------- ---
-------
Tests running... emulators. X11" ======= ======= ======= ======= ======= ======= ======= ======= ======= == tests.test_ hud.HudTests. test_restore_ focus ------- ------- ------- ------- ------- ------- ------- ------- ------- -- emulators/ unity/_ _init__ .py:49 - Querying unity for state piece: '//HudController' emulators/ unity/_ _init__ .py:142 - Refreshing state for <autopilot. emulators. unity.hud. HudController object at 0x8beb5ac> emulators/ unity/_ _init__ .py:61 - Getting state for object HudController with id 17 emulators/ unity/_ _init__ .py:49 - Querying unity for state piece: '//HudControlle r[id=17] '
No handlers could be found for logger "autopilot.
=====
FAIL: autopilot.
-----
test-log: {{{
17:31:45.413 DEBUG autopilot/
17:31:48.092 DEBUG autopilot/
17:31:48.092 DEBUG autopilot/
17:31:48.092 DEBUG autopilot/
}}}
Traceback (most recent call last): tests/test_ hud.py" , line 152, in test_restore_focus assertEqual( b.application_ is_focused( 'Calculator' ), True)
File "autopilot/
self.
MismatchError: False != True
Ran 1 test in 2.767s ------- ------- ------- ------- ------- ------- ------- ------- ---
FAILED (failures=1)
-------
Running the command...
python -m testtools.run autopilot. tests.test_ hud.HudTests. test_restore_ focus
... aborts with: ------- ------- ------- ------- ------- ------- ------- ------- --- request. QueryExtension autopilot" , line 145, in <module> autopilot" , line 139, in main autopilot" , line 106, in run_tests loadTestsFromNa mes(args. test) python2. 7/unittest/ loader. py", line 128, in loadTestsFromNames FromName( name, module) for name in names] python2. 7/unittest/ loader. py", line 100, in loadTestsFromName ------- ------- ------- ------- ------- ------- ------- ------- ---
-------
Xlib.protocol.
Traceback (most recent call last):
File "./tools/
main()
File "./tools/
run_tests(args)
File "./tools/
test_suite = loader.
File "/usr/lib/
suites = [self.loadTests
File "/usr/lib/
parent, obj = obj, getattr(obj, part)
AttributeError: 'module' object has no attribute 'HudTests'
-------