Merge pull request #6 from dnarvaez/printui

Log the UI tree on error
This commit is contained in:
godiard 2013-06-19 10:26:47 -07:00
commit b3e4a7ea8d

View File

@ -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()