def fetch(self):
        limit = len(self.tests) - 1
        results = TestResult.objects.filter(site__pk=2)[:limit]
        for result in results:
            yield ('%s.value' % slugify(result.test.slug), result.duration)
dataset/ETHPy150Open ericholscher/django-kong/kong/plugins/kong_munin.py/KongDuration.fetch/original