示例#1
0
 def setUp(self):
     with open('data/cctray.xml') as cctray_file:
         self.jobs = Projects(
             cctray_file.read()).pipelines['snafu-service'].stages[1].jobs
示例#2
0
 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
示例#3
0
 def setUp(self):
     with open('data/cctray.xml') as cctray_file:
         cctray_xml = cctray_file.read()
     self.stages = Projects(cctray_xml).pipelines['baz'].stages