def METHOD_NAME(self):
    self.group = models.Group.objects.create(slug='mygruop')
    self.project1 = self.group.projects.create(slug='project1')
    self.receive_test_run(self.project1, '0', 'env1', {
        'foo/bar': 'fail',
        # missing `root` on purpose
    })
    now = timezone.now()
    past = now - relativedelta(hours=1)
    self.project1.builds.create(version='1', datetime=past)
    self.receive_test_run(self.project1, '1', 'env1', {
        'foo/bar': 'fail',
        'root': 'fail',
    })
    self.receive_test_run(self.project1, '1', 'env2', {
        'foo/bar': 'pass',
        'root': 'pass',
    })
    self.project1.builds.create(version='2', datetime=now)
    self.receive_test_run(self.project1, '2', 'env1', {
        'foo/bar': 'pass',
        'root': 'pass',
    })
    self.receive_test_run(self.project1, '2', 'env2', {
        'foo/bar': 'fail',
        'root': 'fail',
    })