#NEWLINE# def test_do_chassis_node_list_provision_state( self ) : #NEWLINE# #INDENT# client_mock = mock . MagicMock ( ) #NEWLINE# chassis_mock = mock . MagicMock ( spec_set = [ ] ) #NEWLINE# args = self . _get_client_mock_args ( chassis = chassis_mock , provision_state = 'wait call-back' ) #NEWLINE# c_shell . do_chassis_node_list ( client_mock , args ) #NEWLINE# client_mock . chassis . list_nodes . assert_called_once_with ( chassis_mock , provision_state = 'wait call-back' , detail = False )