from app.permissions.definitions import ALL_PERMISSIONS
def test_contract_permissions_registered():
    for p in ("payment.workspaces.manage","payment.psp_connections.test","payment.merchant_accounts.activate","payment.transactions.view","payment.ledger.view"): assert p in ALL_PERMISSIONS
