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