Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
mvadari committed May 31, 2023
1 parent a279b40 commit 9ca7f0a
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
from tests.integration.integration_test_case import IntegrationTestCase
from tests.integration.it_utils import (
LEDGER_ACCEPT_REQUEST,
sign_and_reliable_submission_async,
test_async_and_sync,
)
Expand Down Expand Up @@ -63,6 +62,5 @@ async def test_basic_functionality(self, client):
)
self.assertTrue(response.is_successful())
self.assertEqual(response.result["engine_result"], "tesSUCCESS")
await client.request(LEDGER_ACCEPT_REQUEST)

self.assertTrue(await does_account_exist(destination, client))
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
from tests.integration.integration_test_case import IntegrationTestCase
from tests.integration.it_utils import (
LEDGER_ACCEPT_REQUEST,
sign_and_reliable_submission_async,
test_async_and_sync,
)
Expand All @@ -16,6 +15,7 @@ class TestXChainAddClaimAttestation(IntegrationTestCase):
@test_async_and_sync(globals())
async def test_basic_functionality(self, client):
other_chain_source = Wallet.create().classic_address

claim_id_response = await sign_and_reliable_submission_async(
XChainCreateClaimID(
account=DESTINATION.classic_address,
Expand All @@ -26,7 +26,6 @@ async def test_basic_functionality(self, client):
DESTINATION,
client,
)
await client.request(LEDGER_ACCEPT_REQUEST)
claim_id_hash = (
claim_id_response.result.get("tx_json") or claim_id_response.result
)["hash"]
Expand Down Expand Up @@ -80,7 +79,6 @@ async def test_basic_functionality(self, client):
)
self.assertTrue(response.is_successful())
self.assertEqual(response.result["engine_result"], "tesSUCCESS")
await client.request(LEDGER_ACCEPT_REQUEST)

account_info2 = await client.request(
AccountInfo(account=DESTINATION.classic_address)
Expand Down
4 changes: 0 additions & 4 deletions tests/integration/transactions/test_xchain_claim.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
from tests.integration.integration_test_case import IntegrationTestCase
from tests.integration.it_utils import (
LEDGER_ACCEPT_REQUEST,
sign_and_reliable_submission_async,
test_async_and_sync,
)
Expand Down Expand Up @@ -32,7 +31,6 @@ async def test_basic_functionality(self, client):
DESTINATION,
client,
)
await client.request(LEDGER_ACCEPT_REQUEST)
claim_id_hash = (
claim_id_response.result.get("tx_json") or claim_id_response.result
)["hash"]
Expand Down Expand Up @@ -85,7 +83,6 @@ async def test_basic_functionality(self, client):
)
self.assertTrue(response.is_successful())
self.assertEqual(response.result["engine_result"], "tesSUCCESS")
await client.request(LEDGER_ACCEPT_REQUEST)

account_info2 = await client.request(
AccountInfo(account=DESTINATION.classic_address)
Expand All @@ -106,7 +103,6 @@ async def test_basic_functionality(self, client):
)
self.assertTrue(response.is_successful())
self.assertEqual(response.result["engine_result"], "tesSUCCESS")
await client.request(LEDGER_ACCEPT_REQUEST)

account_info3 = await client.request(
AccountInfo(account=DESTINATION.classic_address)
Expand Down

0 comments on commit 9ca7f0a

Please sign in to comment.