Update tests for new nostr API

This commit is contained in:
thePR0M3TH3AN
2025-07-02 17:06:03 -04:00
parent c25ca061c6
commit 53166d453b
10 changed files with 87 additions and 48 deletions

View File

@@ -60,9 +60,7 @@ def test_add_and_delete_entry(monkeypatch):
published = []
pm.nostr_client = SimpleNamespace(
publish_json_to_nostr=lambda data, alt_summary=None: (
published.append(data) or True
)
publish_snapshot=lambda data, alt_summary=None: published.append(data)
)
inputs = iter([str(index)])