#NEWLINE# def test_slow_and_failing_validators( ) : #NEWLINE# #INDENT# network = Network ( num_nodes = 10 , simenv = True ) #NEWLINE# network . connect_nodes ( ) #NEWLINE# network . normvariate_base_latencies ( ) #NEWLINE# network . disable_validators ( num = 3 ) #NEWLINE# network . throttle_validators ( num = 6 ) #NEWLINE# network . start ( ) #NEWLINE# network . run ( 10 ) #NEWLINE# r = network . check_consistency ( ) #NEWLINE# assert_heightdistance ( r , 1 )