Skip to content

Commit

Permalink
add extra assert to test
Browse files Browse the repository at this point in the history
  • Loading branch information
camfairchild committed Jun 14, 2024
1 parent 51160f3 commit d967644
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pallets/subtensor/tests/senate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,10 @@ fn test_senate_leave_vote_removal() {
assert!(
SubtensorModule::get_uid_for_net_and_hotkey(root_netuid, &hotkey_account_id).is_err()
);
// No longer a member of the senate
assert!(!Senate::is_member(&hotkey_account_id));
assert_eq!(
// Vote is removed
Triumvirate::has_voted(hash, 0, &hotkey_account_id),
Ok(false)
);
Expand Down

0 comments on commit d967644

Please sign in to comment.