#NEWLINE# def test_list_instance_uuids( self ) : #NEWLINE# #INDENT# fake_uuid = '4f54fb69-d3a2-45b7-bb9b-b6e6b3d893b3' #NEWLINE# with mock . patch . object ( self . _vmops . _vmutils , 'list_instance_notes' ) as mock_list_notes : #NEWLINE# #INDENT# mock_list_notes . return_value = [ ( 'fake_name' , [ mock_list_notes ] ) ] #NEWLINE# response = self . _vmops . list_instance_uuids ( ) #NEWLINE# mock_list_notes . assert_called_once_with ( ) #NEWLINE# #UNINDENT# self . assertEqual ( response , [ fake_uuid ] )