Skip to content

Commit 7ee70b0

Browse files
author
Roman
committed
fix unit tests
1 parent 4d103b3 commit 7ee70b0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/unit_tests/extrinsics/asyncex/test_commit_reveal.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ async def test_commit_reveal_v3_extrinsic_success_with_torch(
220220
netuid=fake_netuid,
221221
current_block=mock_block.return_value["header"]["number"],
222222
block_time=12.0,
223-
hotkey=fake_wallet.hotkey.ss58_address,
223+
hotkey=fake_wallet.hotkey.ss58_address.encode(),
224224
)
225225
mock_do_commit_reveal_v3.assert_awaited_once_with(
226226
subtensor=subtensor,

tests/unit_tests/extrinsics/test_commit_reveal.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ def test_commit_reveal_v3_extrinsic_success_with_torch(
205205
netuid=fake_netuid,
206206
current_block=mock_block.return_value,
207207
block_time=12.0,
208-
hotkey=fake_wallet.hotkey.ss58_address,
208+
hotkey=fake_wallet.hotkey.ss58_address.encode(),
209209
)
210210
mock_do_commit_reveal_v3.assert_called_once_with(
211211
subtensor=subtensor,

0 commit comments

Comments
 (0)