def get(params): """versions""" return { "paramsVer" : 1, "server": models.getVersionString(), "database": models.getDBVersionString(), }
def get(params): """versions""" return { "paramsVer": 1, "server": models.getVersionString(), #"database": models.getDBVersionString(), }
def test01getVersionString(self): """test if getVersion return non-empty string""" self.assertTrue(len(models.getVersionString()) > 0)
def test01getVersionString(self): """test if getVersion return non-empty string""" self.assertTrue( len(models.getVersionString()) > 0 )
def get(params): """versions""" return {"paramsVer": 1, "server": models.getVersionString()}