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

Function test_sync_to_keypair

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

Source from the content-addressed store, hash-verified

24
25
26def test_sync_to_keypair():
27 client = DstackClient()
28 result = client.get_key("test")
29 assert isinstance(result, GetKeyResponse)
30 keypair = to_keypair(result)
31 assert isinstance(keypair, Keypair)
32
33
34@pytest.mark.asyncio

Callers

nothing calls this directly

Calls 3

get_keyMethod · 0.95
DstackClientClass · 0.90
to_keypairFunction · 0.90

Tested by

no test coverage detected