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