def _list_packages(self): sd = SoftwareDepot(DIR_DEPOT) sd.list()
def test_depot_list(self): self._add_snappy_to_depot() sd = SoftwareDepot(DIR_DEPOT) lst = sd.list() assert len(lst) == 1 assert SNAPPY_MANIFEST_FILENAME in lst