예제 #1
0
def test_get_categories():
    "test to get categories form source list"
    set = ScriptSet.from_sourcelist(SourceList(get_datadir() + "/source.list"))
    assert set.categories("editor")[0].name == "hellovim", set.categories
예제 #2
0
def test_get_categories():
    "test to get categories form source list"
    set = ScriptSet.from_sourcelist(ScriptList(get_datadir() + "/scripts.list"))
    assert set.categories("Network")[0].name == "hellovim", set.categories