Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)

src/q/u/quality_report-1.0/unittests/metric/ci_metric_tests.py   quality_report(Download)
    def test_can_be_measured(self):
        ''' Test that the metric can be measured when the project has 
            multiple teams. '''
        self.failUnless(metric.TeamFailingCIJobs.can_be_measured(self._subject, 
                                                                 self._project))
        team = domain.Team('Single team')
        project.add_team(team, responsible=True)
        self.failIf(metric.TeamFailingCIJobs.can_be_measured(team, project))
 
    def test_cant_be_measured_without_build_server(self):
            team = domain.Team('Team %d' % index)
            project.add_team(team, responsible=True)
        self.failIf(metric.TeamFailingCIJobs.can_be_measured(team, project))
 
    def test_norm_template_default_values(self):