def test_no_teams_without_default(self):
        """Test that no teams are returned when template fails and no default team"""
        sink = create_sink(teams=["$labels.team"])
        finding = create_finding()
        teams = sink._OpsGenieSink__get_teams(finding)
        assert teams == []
Test that no teams are returned when template fails and no default team
tests/test_opsgenie_sink.py