Files
roboco/tests/unit/gateway/test_barfly_role_grant.py
T

21 lines
743 B
Python
Raw Normal View History

"""propose_conversation_replies is a Head-of-Marketing-only manifest grant,
mirroring propose_market_brief/propose_feature_spotlight."""
from __future__ import annotations
from roboco.services.gateway.role_config import get_role_config
def test_head_marketing_gets_propose_conversation_replies() -> None:
assert "propose_conversation_replies" in get_role_config("head_marketing").do_tools
def test_product_owner_does_not_get_propose_conversation_replies() -> None:
assert (
"propose_conversation_replies" not in get_role_config("product_owner").do_tools
)
def test_developer_does_not_get_propose_conversation_replies() -> None:
assert "propose_conversation_replies" not in get_role_config("developer").do_tools