File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -637,14 +637,16 @@ def test_create_account(accounts):
637
637
assert isinstance (created_account , TestAccount )
638
638
assert created_account .index == length_at_start
639
639
640
+ length_at_start = len (accounts )
640
641
second_created_account = accounts .generate_test_account ()
642
+ assert len (accounts ) == length_at_start + 1
641
643
642
644
assert created_account .address != second_created_account .address
643
645
assert second_created_account .index == created_account .index + 1
644
646
645
647
# Last index should now refer to the last-created account.
646
648
last_idx_acct = accounts [- 1 ]
647
- assert last_idx_acct .index == second_created_account .index == len ( accounts ) - 1
649
+ assert last_idx_acct .index == second_created_account .index
648
650
assert last_idx_acct .address == second_created_account .address
649
651
assert last_idx_acct .address != accounts [0 ].address
650
652
assert last_idx_acct .address != created_account .address
You can’t perform that action at this time.
0 commit comments