#NEWLINE# def test_updating_slave_to_disconnected_state_should_reset_slave_current_build_id( self ) : #NEWLINE# #INDENT# master = ClusterMaster ( ) #NEWLINE# slave_url = 'raphael.turtles.gov' #NEWLINE# master . connect_slave ( slave_url , num_executors = 10 ) #NEWLINE# slave = master . get_slave ( slave_url = slave_url ) #NEWLINE# slave . current_build_id = 4 #NEWLINE# master . handle_slave_state_update ( slave , SlaveState . DISCONNECTED ) #NEWLINE# self . assertIsNone ( self . current_build_id )