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

Function test_async_to_keypair_secure

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

Source from the content-addressed store, hash-verified

33
34@pytest.mark.asyncio
35async def test_async_to_keypair_secure():
36 client = AsyncDstackClient()
37 result = await client.get_key("test")
38 assert isinstance(result, GetKeyResponse)
39 keypair = to_keypair_secure(result)
40 assert isinstance(keypair, Keypair)
41
42
43def test_sync_to_keypair_secure():

Callers

nothing calls this directly

Calls 3

get_keyMethod · 0.95
AsyncDstackClientClass · 0.90
to_keypair_secureFunction · 0.90

Tested by

no test coverage detected