#NEWLINE# @ mock . patch ( 'ironic_python_agent.extensions.clean._check_clean_version' ) #NEWLINE# def test_execute_clean_step_no_step( self , mock_version ) : #NEWLINE# #INDENT# async_result = self . agent_extension . execute_clean_step ( step = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } , node = self . node , ports = self . ports , clean_version = self . version ) #NEWLINE# async_result . join ( ) #NEWLINE# self . assertEqual ( 'FAILED' , async_result . command_status ) #NEWLINE# mock_version . assert_called_once_with ( self . version )