Skip to content

Commit fd90fb1

Browse files
authored
chore: format ethereum_transaction_test.py with black (#1563)
Signed-off-by: Shravya Jallepally <jallepally0.0shravya@gmail.com>
1 parent 1b07935 commit fd90fb1

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

CHANGELOG.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,12 @@ This changelog is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.
99
### Tests
1010
- Formatted contract unit tests with black for consistent style. (#1523)
1111
- Format account test files with Black (#1519)
12-
- Improve unit test coverage for `Hbar`, including edge cases, validation, comparisons, and hashing. (#1483)
13-
- Standardize formatting of `evm_address_test.py` using Black for improved consistency and readability (#1529)
12+
- Improve unit test coverage for Hbar, including edge cases, validation, comparisons, and hashing. (#1483)
13+
- Standardize formatting of evm_address_test.py using Black for improved consistency and readability (#1529)
1414
- Formatted unit test files using Black.
15-
- Format `tests/unit/network_tls_test.py` with black for code style consistency (#1543)
16-
- Formatted client_test.py using black.
15+
- Format tests/unit/network_tls_test.py with black for code style consistency (#1543)
16+
- Formatted `ethereum_transaction_test.py` using Black.
17+
- Formatted client_test.py using Black.
1718

1819
### Added
1920
- Added Windows setup guide for SDK developers (`docs/sdk_developers/training/setup/setup_windows.md`) with PowerShell installation instructions. (#1570)

tests/unit/ethereum_transaction_test.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,13 +206,15 @@ def test_to_proto(mock_client, ethereum_params):
206206
assert proto.signedTransactionBytes
207207
assert len(proto.signedTransactionBytes) > 0
208208

209+
209210
def test_build_scheduled_body_raises_exception():
210211
"""Test that build_scheduled_body raises ValueError."""
211212
schedule_tx = EthereumTransaction()
212213

213214
with pytest.raises(ValueError, match="Cannot schedule an EthereumTransaction"):
214215
schedule_tx.build_scheduled_body()
215216

217+
216218
def test_ethereum_transaction_can_execute():
217219
"""Test that an ethereum transaction can be executed successfully."""
218220
ok_response = transaction_response_pb2.TransactionResponse()

0 commit comments

Comments
 (0)