Skip to content

Commit e6d6925

Browse files
committed
rename tests
1 parent 74a0dad commit e6d6925

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

pallets/subtensor/src/tests/swap_coldkey.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,7 @@ fn test_swap_coldkey_announced_with_hotkey_fails() {
521521
}
522522

523523
#[test]
524-
fn test_swap_coldkey_with_not_enough_balance_to_pay_swap_cost_fails() {
524+
fn test_do_swap_coldkey_with_not_enough_balance_to_pay_swap_cost_fails() {
525525
new_test_ext(1).execute_with(|| {
526526
let who = U256::from(1);
527527
let new_coldkey = U256::from(2);
@@ -538,7 +538,7 @@ fn test_swap_coldkey_with_not_enough_balance_to_pay_swap_cost_fails() {
538538
}
539539

540540
#[test]
541-
fn test_swap_with_no_stake() {
541+
fn test_do_swap_coldkey_with_no_stake() {
542542
new_test_ext(1).execute_with(|| {
543543
let old_coldkey = U256::from(1);
544544
let new_coldkey = U256::from(2);
@@ -560,7 +560,7 @@ fn test_swap_with_no_stake() {
560560
}
561561

562562
#[test]
563-
fn test_swap_with_max_values() {
563+
fn test_do_swap_coldkey_with_max_values() {
564564
new_test_ext(1).execute_with(|| {
565565
let old_coldkey = U256::from(1);
566566
let new_coldkey = U256::from(2);
@@ -648,7 +648,7 @@ fn test_swap_with_max_values() {
648648
}
649649

650650
#[test]
651-
fn test_swap_effect_on_delegated_stake() {
651+
fn test_do_swap_coldkey_effect_on_delegated_stake() {
652652
new_test_ext(1).execute_with(|| {
653653
let subnet_owner_coldkey = U256::from(1001);
654654
let subnet_owner_hotkey = U256::from(1002);
@@ -1167,7 +1167,7 @@ fn test_coldkey_swap_total() {
11671167
}
11681168

11691169
#[test]
1170-
fn test_coldkey_delegations() {
1170+
fn test_do_swap_coldkey_effect_on_delegations() {
11711171
new_test_ext(1).execute_with(|| {
11721172
let new_coldkey = U256::from(0);
11731173
let owner = U256::from(1);

0 commit comments

Comments
 (0)