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