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>
9 lines
394 B
Python
9 lines
394 B
Python
from app.core.database import Base
|
|
import app.models
|
|
def test_all_owned_rows_are_tenant_scoped():
|
|
assert all("tenant_id" in t.columns for t in Base.metadata.tables.values())
|
|
def test_layers_exist():
|
|
from pathlib import Path
|
|
root=Path(__file__).parents[2]
|
|
for x in ("api","commands","queries","repositories","models","providers","events"): assert (root/"app"/x).exists()
|