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

19 lines
608 B
Python
Raw Normal View History

"""propose_bug_hunt is a Product-Owner-only manifest grant, mirroring
propose_roadmap."""
from __future__ import annotations
from roboco.services.gateway.role_config import get_role_config
def test_product_owner_gets_propose_bug_hunt() -> None:
assert "propose_bug_hunt" in get_role_config("product_owner").do_tools
def test_head_marketing_does_not_get_propose_bug_hunt() -> None:
assert "propose_bug_hunt" not in get_role_config("head_marketing").do_tools
def test_developer_does_not_get_propose_bug_hunt() -> None:
assert "propose_bug_hunt" not in get_role_config("developer").do_tools