MCPcopy Create free account
hub / github.com/Dstack-TEE/dstack / test_async_to_keypair

Function test_async_to_keypair

sdk/python/tests/test_solana.py:18–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

16
17@pytest.mark.asyncio
18async def test_async_to_keypair():
19 client = AsyncDstackClient()
20 result = await client.get_key("test")
21 assert isinstance(result, GetKeyResponse)
22 keypair = to_keypair(result)
23 assert isinstance(keypair, Keypair)
24
25
26def test_sync_to_keypair():

Callers

nothing calls this directly

Calls 3

get_keyMethod · 0.95
AsyncDstackClientClass · 0.90
to_keypairFunction · 0.90

Tested by

no test coverage detected