def test_mixed_team_routing(self):
        """Test that both static and dynamic teams work together"""
        sink = create_sink(teams=["static-team", "$labels.team"])
        finding = create_finding(labels={"team": "backend-team"})
        teams = sink._OpsGenieSink__get_teams(finding)
        assert set(teams) == {"static-team", "backend-team"}
Test that both static and dynamic teams work together
tests/test_opsgenie_sink.py