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
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