generated from coulomb/repo-seed
Add railiance01 hosting at 8.99 EUR/mo from March 2026
Expense records and virtual server catalog entry for railiance01, active from 2026-03 alongside existing domain and coulombcore costs.
This commit is contained in:
@@ -30,7 +30,9 @@ def test_infrastructure_aggregated_from_domain_expense_records() -> None:
|
||||
totals = aggregate_infrastructure_by_period(expenses, fx)
|
||||
|
||||
assert totals["2025-01"] == Decimal("20.74")
|
||||
assert totals["2026-06"] == Decimal("20.74")
|
||||
assert totals["2026-02"] == Decimal("20.74")
|
||||
assert totals["2026-03"] == Decimal("29.73")
|
||||
assert totals["2026-06"] == Decimal("29.73")
|
||||
|
||||
|
||||
def test_monthly_ledger_starts_january_2025() -> None:
|
||||
@@ -43,7 +45,7 @@ def test_monthly_ledger_starts_january_2025() -> None:
|
||||
|
||||
assert march.infrastructure_cost == Decimal("20.74")
|
||||
assert march.payment_processing_cost == Decimal("0.00")
|
||||
assert june.infrastructure_cost == Decimal("20.74")
|
||||
assert june.infrastructure_cost == Decimal("29.73")
|
||||
assert june.payment_processing_cost == Decimal("0.38")
|
||||
assert june.gross_revenue == Decimal("8.99")
|
||||
|
||||
@@ -57,10 +59,10 @@ def test_build_snapshot_june_2026_domain_only_infrastructure() -> None:
|
||||
|
||||
snapshot = build_snapshot("2026-06", product, models, members, payments, ledger)
|
||||
|
||||
assert snapshot.monthly_infrastructure_cost == Decimal("20.74")
|
||||
assert snapshot.monthly_infrastructure_cost == Decimal("29.73")
|
||||
assert snapshot.monthly_payment_processing_cost == Decimal("0.38")
|
||||
assert snapshot.monthly_total_platform_cost == Decimal("21.12")
|
||||
assert snapshot.period_net_liquidity == Decimal("-12.13")
|
||||
assert snapshot.monthly_total_platform_cost == Decimal("30.11")
|
||||
assert snapshot.period_net_liquidity == Decimal("-21.12")
|
||||
assert snapshot.liquidity_status == "burning"
|
||||
|
||||
|
||||
@@ -71,12 +73,12 @@ def test_liquidity_summary_with_actual_domain_costs() -> None:
|
||||
|
||||
summary = build_liquidity_summary(budget, payments, ledger, "2026-06")
|
||||
|
||||
assert summary.cumulative_infrastructure_cost == Decimal("373.32")
|
||||
assert summary.cumulative_infrastructure_cost == Decimal("409.28")
|
||||
assert summary.cumulative_payment_processing_cost == Decimal("3.04")
|
||||
assert summary.cumulative_total_platform_cost == Decimal("376.36")
|
||||
assert summary.cumulative_total_platform_cost == Decimal("412.32")
|
||||
assert summary.cumulative_member_payments == Decimal("68.88")
|
||||
assert summary.cumulative_net_liquidity == Decimal("-304.44")
|
||||
assert summary.remaining_budget == Decimal("695.56")
|
||||
assert summary.cumulative_net_liquidity == Decimal("-340.40")
|
||||
assert summary.remaining_budget == Decimal("659.60")
|
||||
assert summary.liquidity_status == "burning"
|
||||
assert summary.months_tracked == 18
|
||||
|
||||
@@ -98,6 +100,6 @@ def test_dashboard_notes_expense_record_source() -> None:
|
||||
|
||||
report = generate_dashboard(DATA_DIR, "2026-06")
|
||||
assert "expense and payment record ledgers" in report
|
||||
assert "373.32" in report
|
||||
assert "695.56" in report
|
||||
assert "409.28" in report
|
||||
assert "659.60" in report
|
||||
assert "coulomb.social" not in report # dashboard shows aggregates, not domain names
|
||||
Reference in New Issue
Block a user