#NEWLINE# def test_node_set_maintenance_off( self ) : #NEWLINE# #INDENT# maintenance = self . mgr . set_maintenance ( NODE1 [ 'uuid' ] , 'off' ) #NEWLINE# expect = [ ( 'DELETE' , ( '/v1/nodes/%s/maintenance' % NODE1 [ 'uuid' ] ) , { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } , None ) ] #NEWLINE# self . assertEqual ( expect , expect . api . calls ) #NEWLINE# self . assertIsNone ( maintenance )