File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 1212
1313import aleph .sdk .chains .ethereum as ethereum
1414import aleph .sdk .chains .sol as solana
15- import aleph .sdk .chains .substrate as substrate
16- import aleph .sdk .chains .tezos as tezos
15+
16+ # import aleph.sdk.chains.substrate as substrate
17+ # import aleph.sdk.chains.tezos as tezos
1718from aleph .sdk import AlephHttpClient , AuthenticatedAlephHttpClient
1819from aleph .sdk .chains .common import get_fallback_private_key
1920from aleph .sdk .types import Account
@@ -40,14 +41,14 @@ def solana_account() -> solana.SOLAccount:
4041
4142
4243@pytest .fixture
43- def tezos_account () -> tezos .TezosAccount :
44+ def tezos_account () -> " tezos.TezosAccount" :
4445 with NamedTemporaryFile (delete = False ) as private_key_file :
4546 private_key_file .close ()
4647 yield tezos .get_fallback_account (path = Path (private_key_file .name ))
4748
4849
4950@pytest .fixture
50- def substrate_account () -> substrate .DOTAccount :
51+ def substrate_account () -> " substrate.DOTAccount" :
5152 with NamedTemporaryFile (delete = False ) as private_key_file :
5253 private_key_file .close ()
5354 yield substrate .get_fallback_account (path = Path (private_key_file .name ))
Original file line number Diff line number Diff line change @@ -80,6 +80,7 @@ async def test_confidential_initialize_instance():
8080 "session" : tmp_file_bytes ,
8181 "godh" : tmp_file_bytes ,
8282 },
83+ json = None ,
8384 headers = headers ,
8485 )
8586 await vm_client .session .close ()
@@ -173,7 +174,7 @@ async def test_confidential_inject_secret_instance():
173174 m .assert_called_once_with (
174175 url ,
175176 method = "POST" ,
176- data = {
177+ json = {
177178 "secret" : test_secret ,
178179 "packet_header" : packet_header ,
179180 },
You can’t perform that action at this time.
0 commit comments