mirror of
https://github.com/PR0M3TH3AN/SeedPass.git
synced 2025-09-10 08:19:23 +00:00
Display event IDs after Nostr publish
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user