Esempio n. 1
0
def test_index_exists():
    dir = './test_index'
    Index.create(dir)
    assert Index.exists(dir)
Esempio n. 2
0
def test_index_does_not_exist():
    assert not Index.exists('wrong')