Skip to content

Commit d967644

Browse files
committed
add extra assert to test
1 parent 51160f3 commit d967644

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pallets/subtensor/tests/senate.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,10 @@ fn test_senate_leave_vote_removal() {
486486
assert!(
487487
SubtensorModule::get_uid_for_net_and_hotkey(root_netuid, &hotkey_account_id).is_err()
488488
);
489+
// No longer a member of the senate
490+
assert!(!Senate::is_member(&hotkey_account_id));
489491
assert_eq!(
492+
// Vote is removed
490493
Triumvirate::has_voted(hash, 0, &hotkey_account_id),
491494
Ok(false)
492495
);

0 commit comments

Comments
 (0)