Files
Jyotisha/tests/test_kp_monthly_vimshottari.py
T
Jesse_Chen bab0718700
Independent Staging Quality Gate / validate (push) Failing after 9m41s
Independent Staging Quality Gate / publish (push) Has been skipped
feat(report): ship full-mode longform appendix beside the five-chapter report
Web export now calls the same full pack as the long skill report and caches an owner-only Markdown download. Appendix failure stays unavailable and does not change the main report status.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-05 11:10:44 +08:00

22 lines
621 B
Python
Executable File

from datetime import datetime
from scripts.kp_monthly_vimshottari import build_monthly_vimshottari_snapshot
def test_monthly_vimshottari_snapshot_returns_five_levels() -> None:
snapshot = build_monthly_vimshottari_snapshot(
birth_dt=datetime(1990, 1, 1, 12, 0),
moon_lon=248.0,
anchor_dt=datetime(2026, 1, 1, 12, 0),
)
assert set(snapshot["levels"].keys()) == {
"mahadasha",
"antardasha",
"pratyantardasha",
"sookshma",
"prana",
}
assert snapshot["levels"]["mahadasha"]["lord"]
assert snapshot["status"] == "parameter_sensitive"