This commit is contained in:
callebtc
2023-01-11 02:57:59 +01:00
parent 0377222af2
commit 53a8387a0d
11 changed files with 107 additions and 81 deletions

View File

@@ -4,7 +4,7 @@ import requests
from cashu.tor.tor import TorProxy
# @pytest.mark.skip
@pytest.mark.skip
def test_tor_setup():
s = requests.Session()

View File

@@ -68,8 +68,8 @@ async def test_get_keyset(wallet1: Wallet):
@pytest.mark.asyncio
async def test_get_keysets(wallet1: Wallet):
keyset = await wallet1._get_keysets(wallet1.url)
async def test_get_keyset_ids(wallet1: Wallet):
keyset = await wallet1._get_keyset_ids(wallet1.url)
assert type(keyset) == dict
assert type(keyset["keysets"]) == list
assert len(keyset["keysets"]) > 0