Skip to content

Commit 95d7540

Browse files
committed
chore: added precommit
Signed-off-by: Manish Dait <daitmanish88@gmail.com>
1 parent a00bace commit 95d7540

4 files changed

Lines changed: 3 additions & 10 deletions

File tree

tests/integration/account_update_transaction_e2e_test.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -92,11 +92,7 @@ def test_integration_account_update_transaction_set_key_with_threshold_keylist(e
9292
key_2_private = PrivateKey.generate_ed25519()
9393
threshold_key = KeyList([key_1_private.public_key(), key_2_private.public_key()], threshold=2)
9494

95-
tx = (
96-
AccountUpdateTransaction()
97-
.set_account_id(account_id)
98-
.set_key(threshold_key)
99-
)
95+
tx = AccountUpdateTransaction().set_account_id(account_id).set_key(threshold_key)
10096

10197
tx.transaction_fee = Hbar.from_hbars(5)
10298
tx.freeze_with(env.client)

tests/integration/batch_transaction_e2e_test.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,12 +96,11 @@ def test_batch_transaction_can_execute_large_batch(env):
9696
)
9797

9898
batch_tx.add_inner_transaction(transfer_tx)
99-
99+
100100
batch_tx.transaction_fee = Hbar.from_hbars(10)
101101
batch_tx.freeze_with(env.client)
102102
batch_tx.sign(batch_key)
103103

104-
105104
batch_receipt = batch_tx.execute(env.client)
106105

107106
assert batch_receipt.status == ResponseCode.SUCCESS

tests/integration/ethereum_transaction_e2e_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ def test_integration_ethereum_transaction_jumbo_transaction(env):
147147
alias_private_key,
148148
)
149149

150-
tx = EthereumTransaction().set_ethereum_data(transaction_data)
150+
tx = EthereumTransaction().set_ethereum_data(transaction_data)
151151
tx.transaction_fee = Hbar.from_hbars(10)
152152
receipt = tx.execute(env.client)
153153
assert receipt.status == ResponseCode.SUCCESS, (

tests/integration/topic_message_submit_transaction_e2e_test.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,8 +260,6 @@ def test_integration_scheduled_topic_message_submit_transaction_can_execute_with
260260
f"Message submission failed with status: {ResponseCode(receipt.status).name}"
261261
)
262262

263-
264-
265263
info = TopicInfoQuery(topic_id=topic_id).execute(env.client)
266264
assert info.sequence_number == 1
267265

0 commit comments

Comments
 (0)