style(tests): ruff import order and comparison order in the new sync4 tests

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01N4f2nya58RoRu4yEmJgRGE
This commit is contained in:
Jesse_Chen
2026-10-02 14:51:31 +08:00
co-authored by Claude Opus 5.5
parent 26d4c204b0
commit b53f56b6fd
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -11,10 +11,10 @@ from __future__ import annotations
import pytest
from scripts.jyotish_engine import cmd_full_reading
from scripts.professional_report_reference import _export_args
import scripts.special_lagnas as special_lagnas
import scripts.yogas_doshas as yogas_doshas
from scripts.jyotish_engine import cmd_full_reading
from scripts.professional_report_reference import _export_args
BASE = dict(year=1990, month=6, day=15, second=0, lat=39.9042, lon=116.4074, tz=8,
ayanamsa="lahiri", node_mode="mean")
+1 -1
View File
@@ -14,7 +14,7 @@ BPHS_VIRUPAS = {"Sun": 390, "Moon": 360, "Mars": 300, "Mercury": 420, "Jupiter":
def test_minimum_table_matches_bphs() -> None:
# 原值: Sun 5.0;新值: 6.5;其余六星不变
assert MIN_REQUIRED == {planet: value / VIRUPAS_PER_RUPA for planet, value in BPHS_VIRUPAS.items()}
assert {planet: value / VIRUPAS_PER_RUPA for planet, value in BPHS_VIRUPAS.items()} == MIN_REQUIRED
def test_sun_ishta_percentage_uses_six_and_a_half_rupas() -> None: