Merge branch 'main' into feat/open-meteo

This commit is contained in:
skkim committed 2026-10-12 14:43:39 +09:00
commit aa05d870a2
80 files changed
+4893 -351

No files matched your search

+2 -2
View File
@@ -93,7 +93,7 @@ async def test_sky_spots_by_distance(monkeypatch, clean, region, expected):
assert [s["distance_km"] for s in spots] == sorted(s["distance_km"] for s in spots)
def test_nearest_spots_west_first_and_empty_outside_radius():
def test_nearest_spots_west_first_and_nearest_one_outside_radius():
from decimal import Decimal
from common.database.model.models import SunsetSpot
@@ -103,7 +103,7 @@ def test_nearest_spots_west_first_and_empty_outside_radius():
spots = [spot("가까운 동쪽", 37.01, False), spot("먼 서쪽", 37.1, True), spot("반경 밖", 37.5, True)]
assert [x.spot.name for x in sky_service.nearest_spots(37.0, 127.0, spots)] == ["먼 서쪽", "가까운 동쪽"]
assert sky_service.nearest_spots(33.0, 127.0, spots) == []
assert [x.spot.name for x in sky_service.nearest_spots(36.0, 127.0, spots)] == ["가까운 동쪽"]
def test_outlook_only_when_a_later_day_has_a_better_verdict():