fix nostr relay and refactor nostr_send and nostr_receive (#100)

* fix nostr relay and refactor nostr_send and nostr_receive

* bump to 0.8.4

* make format

* check test

* close nostr
This commit is contained in:
calle
2023-01-25 01:50:02 +01:00
committed by GitHub
parent 9acac156a7
commit 01d9cef407
8 changed files with 116 additions and 77 deletions

View File

@@ -115,3 +115,22 @@ def test_receive_tokenv1(mint):
print("RECEIVE")
print(result.output)
@pytest.mark.asyncio()
def test_nostr_send(mint):
runner = CliRunner()
result = runner.invoke(
cli,
[
*cli_prefix,
"send",
"1",
"-n",
"aafa164a8ab54a6b6c67bbac98a5d5aec7ea4075af8928a11478ab9d74aec4ca",
"-y",
],
)
print("NOSTR_SEND")
print(result.output)