From 2961a30a94038bdede2d285a63281bb7f214aba6 Mon Sep 17 00:00:00 2001 From: Matt Johnson Date: Thu, 28 May 2026 05:50:08 +0000 Subject: [PATCH] v0.9.20: stale docstring nit on renamed test Co-Authored-By: Claude Opus 4.5 --- tests/test_eonet.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_eonet.py b/tests/test_eonet.py index fb9fd05..3f80de7 100644 --- a/tests/test_eonet.py +++ b/tests/test_eonet.py @@ -149,7 +149,7 @@ class TestEONETAdapter: @pytest.mark.asyncio async def test_country_unknown_when_no_geocoder(self, tmp_path: Path): - """Every emitted event has subject suffix '.global' (no country resolution in v1).""" + """No geocoder enrichment -> subject ends with '.unknown'.""" from central.adapters.eonet import EONETAdapter adapter = EONETAdapter(_config(), MagicMock(), tmp_path / "cursors.db") @@ -244,7 +244,7 @@ class TestEONETAdapter: # Subject pattern: subtype BEFORE 'removed' per ยง8 canonical pattern. # Subscriber filtering on central.disaster.eonet..> must match the - # removal subject central.disaster.eonet..removed.global. + # removal subject central.disaster.eonet..removed.unknown. expected_cat = _subject_category(first_event["categories"][0]["id"]) subj = adapter.subject_for(ts) assert subj.startswith(f"central.disaster.eonet.{expected_cat}.")