Display event IDs after Nostr publish

This commit is contained in:
thePR0M3TH3AN
2025-07-02 20:14:25 -04:00
parent c6b19e10ea
commit b6675aa5ec
12 changed files with 44 additions and 28 deletions

View File

@@ -81,8 +81,9 @@ def test_publish_snapshot_success():
with patch.object(
client.client, "send_event", side_effect=fake_send
) as mock_send:
manifest = asyncio.run(client.publish_snapshot(b"data"))
manifest, event_id = asyncio.run(client.publish_snapshot(b"data"))
assert isinstance(manifest, Manifest)
assert event_id == "abcd"
assert mock_send.await_count >= 1