mirror of
https://github.com/zvx-echo6/central.git
synced 2026-05-21 18:14:44 +02:00
fix(firms): use public is_published/mark_published methods
Match NWS adapter pattern for supervisor compatibility. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
47359a8144
commit
22c50d3176
2 changed files with 7 additions and 7 deletions
|
|
@ -246,13 +246,13 @@ class TestDeduplication:
|
|||
stable_id = "VIIRS_SNPP_NRT:2026-05-16:1430:45.123:-116.456"
|
||||
|
||||
# Not published initially
|
||||
assert not adapter._is_published(stable_id)
|
||||
assert not adapter.is_published(stable_id)
|
||||
|
||||
# Mark as published
|
||||
adapter._mark_published(stable_id)
|
||||
adapter.mark_published(stable_id)
|
||||
|
||||
# Now should be published
|
||||
assert adapter._is_published(stable_id)
|
||||
assert adapter.is_published(stable_id)
|
||||
|
||||
await adapter.shutdown()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue