Ejemplo n.º 1
0
 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))
Ejemplo n.º 2
0
 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)))