Revert "Merge pull request #66 from PR0M3TH3AN/codex/replace-monstr-with-pynostr-in-client"

This reverts commit c79dd805e3, reversing
changes made to c05f19d3a4.
This commit is contained in:
thePR0M3TH3AN
2025-06-30 16:07:10 -04:00
parent c79dd805e3
commit 87a493b845
5 changed files with 124 additions and 106 deletions

View File

@@ -14,7 +14,7 @@ def setup_client(tmp_path):
key = Fernet.generate_key()
enc_mgr = EncryptionManager(key, tmp_path)
with patch("nostr.client.RelayManager"), patch(
with patch("nostr.client.ClientPool"), patch(
"nostr.client.KeyManager"
), patch.object(NostrClient, "initialize_client_pool"), patch.object(
enc_mgr, "decrypt_parent_seed", return_value="seed"
@@ -25,12 +25,12 @@ def setup_client(tmp_path):
class FakeEvent:
KIND_TEXT_NOTE = 1
KIND_ENCRYPT = 4
KIND_ENCRYPT = 2
def __init__(self, kind, content, pubkey):
def __init__(self, kind, content, pub_key):
self.kind = kind
self.content = content
self.pubkey = pubkey
self.pub_key = pub_key
self.id = "id"
def sign(self, _):