mirror of
https://github.com/aljazceru/nutshell.git
synced 2025-12-20 10:34:20 +01:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user