Add engagement margin reporting
This commit is contained in:
parent
33883e0977
commit
8338c501ed
10 changed files with 397 additions and 8 deletions
|
|
@ -1,6 +1,14 @@
|
|||
"""Smoke tests for fin-hub model registration."""
|
||||
|
||||
from fin_hub.models import Budget, BurnRate, Commitment, RunwayProjection, ServiceCost, TokenSpend
|
||||
from fin_hub.models import (
|
||||
Budget,
|
||||
BurnRate,
|
||||
Commitment,
|
||||
EngagementPrice,
|
||||
RunwayProjection,
|
||||
ServiceCost,
|
||||
TokenSpend,
|
||||
)
|
||||
from hub_core.models.base import Base
|
||||
|
||||
|
||||
|
|
@ -12,6 +20,7 @@ def test_fin_models_register_on_metadata():
|
|||
assert "fin_runway_projections" in tables
|
||||
assert "fin_token_spends" in tables
|
||||
assert "fin_service_costs" in tables
|
||||
assert "fin_engagement_prices" in tables
|
||||
|
||||
|
||||
def test_model_classes_importable():
|
||||
|
|
@ -21,6 +30,7 @@ def test_model_classes_importable():
|
|||
assert RunwayProjection.__tablename__ == "fin_runway_projections"
|
||||
assert TokenSpend.__tablename__ == "fin_token_spends"
|
||||
assert ServiceCost.__tablename__ == "fin_service_costs"
|
||||
assert EngagementPrice.__tablename__ == "fin_engagement_prices"
|
||||
|
||||
|
||||
def test_service_cost_has_external_attribution_seam():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue