TorbatYar/backend/services/payment/app/tests/test_permissions.py
Mortezakoohjani 9fac160258 feat(payment): ship Torbat Pay MVP phases 14.0-14.5
Add independent payment-service (port 8012, payment_db) with foundation licensing, BYO-PSP, merchant accounts, idempotent requests, callbacks, and immutable ledger.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-27 17:57:04 +03:30

4 lines
293 B
Python

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