File tree Expand file tree Collapse file tree 9 files changed +0
-16
lines changed
Expand file tree Collapse file tree 9 files changed +0
-16
lines changed Original file line number Diff line number Diff line change @@ -297,7 +297,6 @@ fn test_do_set_child_singular_multiple_children() {
297297
298298// SKIP_WASM_BUILD=1 RUST_LOG=info cargo test --test children -- test_add_singular_child --exact --nocapture
299299#[ test]
300- #[ cfg( not( tarpaulin) ) ]
301300fn test_add_singular_child ( ) {
302301 new_test_ext ( 1 ) . execute_with ( || {
303302 let netuid: u16 = 1 ;
Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ use sp_core::U256;
66
77// Test the ability to hash all sorts of hotkeys.
88#[ test]
9- #[ cfg( not( tarpaulin) ) ]
109fn test_hotkey_hashing ( ) {
1110 new_test_ext ( 1 ) . execute_with ( || {
1211 for i in 0 ..10000 {
@@ -18,7 +17,6 @@ fn test_hotkey_hashing() {
1817// Test drain tempo on hotkeys.
1918// SKIP_WASM_BUILD=1 RUST_LOG=debug cargo test --test coinbase test_hotkey_drain_time -- --nocapture
2019#[ test]
21- #[ cfg( not( tarpaulin) ) ]
2220fn test_hotkey_drain_time ( ) {
2321 new_test_ext ( 1 ) . execute_with ( || {
2422 // Block 0
@@ -46,7 +44,6 @@ fn test_hotkey_drain_time() {
4644// To run this test specifically, use the following command:
4745// SKIP_WASM_BUILD=1 RUST_LOG=debug cargo test --test coinbase test_coinbase_basic -- --nocapture
4846#[ test]
49- #[ cfg( not( tarpaulin) ) ]
5047fn test_coinbase_basic ( ) {
5148 new_test_ext ( 1 ) . execute_with ( || {
5249 // Define network ID
@@ -138,7 +135,6 @@ fn test_coinbase_basic() {
138135// Test getting and setting hotkey emission tempo
139136// SKIP_WASM_BUILD=1 RUST_LOG=debug cargo test --test coinbase test_set_and_get_hotkey_emission_tempo -- --nocapture
140137#[ test]
141- #[ cfg( not( tarpaulin) ) ]
142138fn test_set_and_get_hotkey_emission_tempo ( ) {
143139 new_test_ext ( 1 ) . execute_with ( || {
144140 // Get the default hotkey emission tempo
Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ mod mock;
55use sp_core:: U256 ;
66
77#[ test]
8- #[ cfg( not( tarpaulin) ) ]
98fn test_registration_difficulty_adjustment ( ) {
109 new_test_ext ( 1 ) . execute_with ( || {
1110 // Create Net 1
Original file line number Diff line number Diff line change @@ -2107,7 +2107,6 @@ fn test_zero_weights() {
21072107
21082108// Test that epoch assigns validator permits to highest stake uids, varies uid interleaving and stake values.
21092109#[ test]
2110- #[ cfg( not( tarpaulin) ) ]
21112110fn test_validator_permits ( ) {
21122111 let netuid: u16 = 1 ;
21132112 let tempo: u16 = u16:: MAX - 1 ; // high tempo to skip automatic epochs in on_initialize, use manual epochs instead
Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ fn test_get_neuron_none() {
1515}
1616
1717#[ test]
18- #[ cfg( not( tarpaulin) ) ]
1918fn test_get_neuron_some ( ) {
2019 new_test_ext ( 1 ) . execute_with ( || {
2120 let netuid: u16 = 1 ;
Original file line number Diff line number Diff line change @@ -539,7 +539,6 @@ fn test_burn_adjustment() {
539539}
540540
541541#[ test]
542- #[ cfg( not( tarpaulin) ) ]
543542fn test_registration_too_many_registrations_per_block ( ) {
544543 new_test_ext ( 1 ) . execute_with ( || {
545544 let netuid: u16 = 1 ;
Original file line number Diff line number Diff line change @@ -164,7 +164,6 @@ fn test_serving_set_metadata_update() {
164164}
165165
166166#[ test]
167- #[ cfg( not( tarpaulin) ) ]
168167fn test_axon_serving_rate_limit_exceeded ( ) {
169168 new_test_ext ( 1 ) . execute_with ( || {
170169 let hotkey_account_id = U256 :: from ( 1 ) ;
@@ -382,7 +381,6 @@ fn test_prometheus_serving_set_metadata_update() {
382381}
383382
384383#[ test]
385- #[ cfg( not( tarpaulin) ) ]
386384fn test_prometheus_serving_rate_limit_exceeded ( ) {
387385 new_test_ext ( 1 ) . execute_with ( || {
388386 let hotkey_account_id = U256 :: from ( 1 ) ;
Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ use sp_core::{H256, U256};
1515************************************************************/
1616
1717#[ test]
18- #[ cfg( not( tarpaulin) ) ]
1918fn test_add_stake_dispatch_info_ok ( ) {
2019 new_test_ext ( 1 ) . execute_with ( || {
2120 let hotkey = U256 :: from ( 0 ) ;
@@ -521,7 +520,6 @@ fn test_remove_stake_rate_limit_exceeded() {
521520}
522521
523522#[ test]
524- #[ cfg( not( tarpaulin) ) ]
525523fn test_remove_stake_dispatch_info_ok ( ) {
526524 new_test_ext ( 1 ) . execute_with ( || {
527525 let hotkey = U256 :: from ( 0 ) ;
Original file line number Diff line number Diff line change @@ -21,7 +21,6 @@ use substrate_fixed::types::I32F32;
2121
2222// Test the call passes through the subtensor module.
2323#[ test]
24- #[ cfg( not( tarpaulin) ) ]
2524fn test_set_weights_dispatch_info_ok ( ) {
2625 new_test_ext ( 0 ) . execute_with ( || {
2726 let dests = vec ! [ 1 , 1 ] ;
@@ -41,7 +40,6 @@ fn test_set_weights_dispatch_info_ok() {
4140 } ) ;
4241}
4342#[ test]
44- #[ cfg( not( tarpaulin) ) ]
4543fn test_set_rootweights_dispatch_info_ok ( ) {
4644 new_test_ext ( 0 ) . execute_with ( || {
4745 let dests = vec ! [ 1 , 1 ] ;
@@ -404,7 +402,6 @@ fn test_weights_err_no_validator_permit() {
404402
405403// To execute this test: cargo test --package pallet-subtensor --test weights test_set_weights_min_stake_failed -- --nocapture`
406404#[ test]
407- #[ cfg( not( tarpaulin) ) ]
408405fn test_set_weights_min_stake_failed ( ) {
409406 new_test_ext ( 0 ) . execute_with ( || {
410407 let dests = vec ! [ 0 ] ;
You can’t perform that action at this time.
0 commit comments