def test_service_description(self): self.assertEqual(scscp.get_service_description(), OMApplication( OMSymbol('get_service_description', 'scscp2', id=None, cdbase=None), [], id=None, cdbase=None)) self.assertEqual(scscp.service_description('Hello', 'world', '!'), OMApplication( OMSymbol('service_description', 'scscp2', id=None, cdbase=None), [OMString('Hello', id=None), OMString('world', id=None), OMString('!', id=None)], id=None, cdbase=None))
def test_service_description(self): self.assertEqual( scscp.get_service_description(), OMApplication(OMSymbol('get_service_description', 'scscp2', id=None, cdbase=None), [], id=None, cdbase=None)) self.assertEqual( scscp.service_description('Hello', 'world'), OMApplication( OMSymbol('service_description', 'scscp2', id=None, cdbase=None), [OMString('Hello', id=None), OMString('world', id=None)], id=None, cdbase=None))
def get_service_description(self, data): return scscp.service_description(self.server.description)
def get_service_description(self, data): return scscp.service_description(self.server.name.decode(), self.server.version.decode(), self.server.description)
def get_service_description(self, data): return scscp.service_description(self.server.description)
def get_service_description(self, data): return scscp.service_description(self.server.name.decode(), self.server.version.decode(), self.server.description)