async def METHOD_NAME(self):
    """Test that metrics with a recently changed status are ignored."""
    self.set_source_parameter("min_status_duration", "5")
    self.set_source_parameter("status", ["target not met (red)", "target met (green)"])
    metrics = self.reports["reports"][0]["subjects"]["s1"]["metrics"]
    # Give m1 a recently changed status to test that it will be ignored
    metrics["m1"]["status_start"] = now().isoformat()
    # Give m3 a status but no change date to test that it will be ignored
    metrics["m3"]["recent_measurements"].append({"count": {"status": "target_met"}})
    response = await self.collect(get_request_json_return_value=self.reports)
    self.assert_measurement(
        response,
        value="1",
        total="3",
        entities=[
            {
                "key": "m2",
                "report": "R1",
                "subject": "S1",
                "metric": "Violations",
                "report_url": f"{self.url}/r1",
                "subject_url": f"{self.url}/r1#s1",
                "metric_url": f"{self.url}/r1#m2",
                "measurement": "20",
                "target": "≦ 2",
                "unit": "violations",
                "status": "target_not_met",
                "status_start_date": "2020-05-23T07:53:17+00:00",
            },
        ],
    )