def job(self): job = model.Job('job') job.skip_if_matcher = cm.MatchAll([ cm.ProjectMatcher('^project$'), cm.MatchAllFiles([cm.FileMatcher('^docs/.*$')]), ]) return job
def setUp(self): super(TestMatchAllFiles, self).setUp() self.matcher = cm.MatchAllFiles([cm.FileMatcher('^docs/.*$')])