20 lines
700 B
Python
20 lines
700 B
Python
"""Shadbala prose reads the rupa total that the chart already calculated."""
|
|
|
|
from __future__ import annotations
|
|
|
|
from scripts.pl9_interpretation_packs import build_graha_interpretation_pack
|
|
|
|
|
|
def test_shadbala_total_rupas_is_not_left_unlisted() -> None:
|
|
pack = build_graha_interpretation_pack(
|
|
{"Sun": {"house": 1, "sign": "Aries", "nakshatra": "Ashwini", "status": "Exalted"}},
|
|
{"Sun": [5]},
|
|
{"Sun": "functional_benefic"},
|
|
set(),
|
|
strength_snapshot={"planets": {"Sun": {"total_rupas": 7.25}}},
|
|
language="zh",
|
|
)
|
|
text = pack["planet_pages"][0]["sections"]["strength_and_context"]
|
|
assert "7.25" in text
|
|
assert "未列出" not in text
|