Exemplo n.º 1
0
 def setUp(self):
     self.instance = UnoService()
     self.defaults = UnoService.defaults
     self.options = Options(self.defaults['options'])
     self.env = env
Exemplo n.º 2
0
def get_desktop(host='localhost', port=2002):
    """Get an instance of the UNO Desktop"""
    return UnoService(host=host, port=port).connect()