#NEWLINE# def test_cool_set_and_get( self ) : #NEWLINE# #INDENT# 'Dummy device returns previously set cooling value.' #NEWLINE# envcontroller = dummy . DummyEnvController ( ) #NEWLINE# for i in range ( 0 , 100 ) : #NEWLINE# #INDENT# envcontroller . set_cooler_level ( envcontroller ) #NEWLINE# self . assertEqual ( envcontroller . get_power_levels ( ) [ 1 ] , i )