MCPcopy Create free account
hub / github.com/Exorust/Adkit-MCP / TestExclusionsSemantics

Class TestExclusionsSemantics

tests/test_match_semantics.py:63–70  ·  view source on GitHub ↗

Exclusions always enforced when provided.

Source from the content-addressed store, hash-verified

61
62
63class TestExclusionsSemantics:
64 """Exclusions always enforced when provided."""
65
66 def test_exclusions_must_be_enforced(self):
67 exclude_ad_ids = ["ad-1", "ad-2"]
68 exclude_advertiser_ids = ["adv-bad"]
69 # These must never appear in results when set
70 assert "always" in RULE_EXCLUSIONS_ALWAYS.lower()
71
72
73class TestPlacementSemantics:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected