Beispiel #1
0
 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)
Beispiel #2
0
 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)