示例#1
0
def test_db_version(translator):
    version = translator.get_db_version()
    assert version == '3.0.5'
示例#2
0
def test_db_version(translator):
    version = translator.get_db_version()
    major = int(version.split('.')[0])
    assert major >= 3