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

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

src/q/u/quality_report-1.0/qualitylib/metric/service_metrics.py   quality_report(Download)
    def time_period_description(cls):
        return 'was vorige maand (%s)' % \
            utils.format_month(utils.month_ago(cls._today()))
 
 
    def time_period_description(cls):
        return 'is deze maand (%s)' % utils.format_month(cls._today())
 
 
class ServiceResponseTimes(LowerIsBetterMetric):
    def time_period_description(cls):
        return 'was vorige maand (%s)' % \
            utils.format_month(utils.month_ago(cls._today()))
 
    @classmethod
    def time_period_description(cls):
        return 'is deze maand (%s)' % utils.format_month(cls._today())
 
    @classmethod
    def _date_in_period(cls):

src/q/u/quality_report-1.0/qualitylib/metric/project/project_metrics.py   quality_report(Download)
    def _parameters(self):
        # pylint: disable=protected-access
        parameters = super(BlockingTestIssues, self)._parameters()
        parameters['month'] = utils.format_month(utils.month_ago())
        return parameters

src/q/u/quality_report-1.0/unittests/metric/project/project_metric_tests.py   quality_report(Download)
    def test_report(self):
        ''' Test that the report is correct. '''
        month = utils.format_month(utils.month_ago())
        self.assertEqual('Het aantal geopende blokkerende testbevindingen in '\
                         'de vorige maand (%s) was 5.' % month,