def METHOD_NAME(self):
    previous_incidents_pks = [incident.id for incident in Incident.objects.all()]
    level = 2
    out = self.call_command(f"--level={level}")
    self.assertFalse(out)
    test_tag = Tag.objects.get(key="problem_type", value="test")
    self.assertTrue(
        Incident.objects.exclude(id__in=previous_incidents_pks)
        .filter(incident_tag_relations__tag=test_tag)
        .filter(level=level)
        .exists()
    )