def assertNoPaths(self, arch, item, project, series): config = Config(read=False) config["PROJECT"] = project config["DIST"] = Series.find_by_name(series) self.assertRaises( NoLiveItem, next, live_item_paths(config, arch, item))
def assertPathsEqual(self, expected, arch, item, project, series): config = Config(read=False) config["PROJECT"] = project config["DIST"] = Series.find_by_name(series) self.assertEqual(expected, list(live_item_paths(config, arch, item)))