Add timeout to wait_for_connection and test

This commit is contained in:
thePR0M3TH3AN
2025-06-30 16:01:25 -04:00
parent 01a81246a5
commit d36607fa9a
5 changed files with 106 additions and 124 deletions

View File

@@ -27,7 +27,7 @@ def test_backup_and_publish_to_nostr():
with patch(
"nostr.client.NostrClient.publish_json_to_nostr", return_value=True
) as mock_publish, patch("nostr.client.ClientPool"), patch(
) as mock_publish, patch("nostr.client.RelayManager"), patch(
"nostr.client.KeyManager"
), patch.object(
NostrClient, "initialize_client_pool"