#NEWLINE# @ mock . patch . object ( conductor_utils , '_get_cleaning_steps' ) #NEWLINE# def test__validate_user_clean_steps_no_steps( self , mock_steps ) : #NEWLINE# #INDENT# node = obj_utils . create_test_node ( self . context ) #NEWLINE# mock_steps . return_value = self . clean_steps #NEWLINE# with task_manager . acquire ( self . context , node . uuid ) as task : #NEWLINE# #INDENT# conductor_utils . _validate_user_clean_steps ( task , [ ] ) #NEWLINE# mock_steps . assert_called_once_with ( task , enabled = False , sort = False )