def setUp(self): with open('data/cctray.xml') as cctray_file: self.jobs = Projects( cctray_file.read()).pipelines['snafu-service'].stages[1].jobs
def setUp(self): with open('data/cctray.xml') as cctray_file: cctray_xml = cctray_file.read() self.projects = Projects(cctray_xml) self.pipelines = self.projects.pipelines
def setUp(self): with open('data/cctray.xml') as cctray_file: cctray_xml = cctray_file.read() self.stages = Projects(cctray_xml).pipelines['baz'].stages