#NEWLINE# def test_router_update_stay_active( self ) : #NEWLINE# #INDENT# router = self . _create_router ( ) #NEWLINE# router [ 'name' ] = 'test_update' #NEWLINE# router_updated = self . plugin . _update_router_db ( self . admin_ctx , router [ 'id' ] , router_updated ) #NEWLINE# self . assertEqual ( n_const . ROUTER_STATUS_ACTIVE , router_updated [ 'status' ] )