Пример #1
0
def get(params):
    """versions"""
    return {
        "paramsVer" : 1,
        "server": models.getVersionString(),
        "database": models.getDBVersionString(),
    }
Пример #2
0
def get(params):
    """versions"""
    return {
        "paramsVer": 1,
        "server": models.getVersionString(),
        #"database": models.getDBVersionString(),
    }
Пример #3
0
 def test01getVersionString(self):
     """test if getVersion return non-empty string"""
     self.assertTrue(len(models.getVersionString()) > 0)
Пример #4
0
 def test01getVersionString(self):
     """test if getVersion return non-empty string"""
     self.assertTrue( len(models.getVersionString()) > 0 )
Пример #5
0
def get(params):
    """versions"""
    return {"paramsVer": 1, "server": models.getVersionString()}