def get_mock_root_ui_node(value): if isinstance(value, Exception): raise value return app_ui._UiNode( self.device, element_tree.fromstring(value), self.app.package)
def get_mock_root_ui_node(value): if isinstance(value, Exception): raise value return app_ui._UiNode(self.device, element_tree.fromstring(value), self.app.package)