Log the UI tree on error

The dump method doesn't actually print anything, just
returns the tree as a string.
master
Daniel Narvaez 11 years ago
parent f9e80a90f7
commit 19bc2268d4

@ -51,7 +51,7 @@ class UITestCase(unittest.TestCase):
try:
yield
except:
uitree.get_root().dump()
logging.debug(uitree.get_root().dump())
raise
finally:
process.terminate()

Loading…
Cancel
Save