mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-03-12 20:58:28 +03:00
tests: uitests: Make find() exception output nicer
Overwrite the internal exception, which is not interesting Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
parent
f073ad6fb6
commit
18358d5096
@ -356,7 +356,7 @@ class VMMDogtailNode(dogtail.tree.Node):
|
|||||||
except dogtail.tree.SearchError:
|
except dogtail.tree.SearchError:
|
||||||
raise dogtail.tree.SearchError("Didn't find widget with name='%s' "
|
raise dogtail.tree.SearchError("Didn't find widget with name='%s' "
|
||||||
"roleName='%s' labeller_text='%s'" %
|
"roleName='%s' labeller_text='%s'" %
|
||||||
(name, roleName, labeller_text))
|
(name, roleName, labeller_text)) from None
|
||||||
|
|
||||||
# Wait for independent windows to become active in the window manager
|
# Wait for independent windows to become active in the window manager
|
||||||
# before we return them. This ensures the window is actually onscreen
|
# before we return them. This ensures the window is actually onscreen
|
||||||
|
Loading…
x
Reference in New Issue
Block a user