Skip to content

Commit 57b4c3d

Browse files
author
Roman
committed
improve + fix
1 parent 18f5eff commit 57b4c3d

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

tests/e2e_tests/test_senate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,6 @@ def test_senate(local_chain, wallet_setup):
227227
) == wallet_alice.hotkey.ss58_address
228228

229229
# Assert vote casted as Nay
230-
assert proposals_after_nay_output[9].split()[1] == "Nay"
230+
assert proposals_after_nay_output[10].split()[1] == "Nay"
231231

232232
print("✅ Passed senate commands")

tests/e2e_tests/test_wallet_creations.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -486,6 +486,20 @@ def test_wallet_balance_all(local_chain, wallet_setup, capfd):
486486
wallet_name = f"test_wallet_{i}"
487487
wallet_names.append(wallet_name)
488488

489+
exec_command(
490+
command="wallet",
491+
sub_command="new-coldkey",
492+
extra_args=[
493+
"--wallet-name",
494+
wallet_name,
495+
"--wallet-path",
496+
wallet_path,
497+
"--n-words",
498+
"12",
499+
"--no-use-password",
500+
],
501+
)
502+
489503
wallet_status, message = verify_wallet_dir(wallet_path, wallet_name)
490504
assert wallet_status, message
491505

0 commit comments

Comments
 (0)