bab0718700
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>
22 lines
621 B
Python
Executable File
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"
|