#NEWLINE# def create_mock_rom( self , rom_name = 'Test ROM' , console_shortname = 'Test' ) : #NEWLINE# #INDENT# mock_console = mock ( ) #NEWLINE# mock_console . shortname = console_shortname #NEWLINE# mock_console . images_directory = self . temp_directory #NEWLINE# mock_rom = mock ( ) #NEWLINE# mock_rom . name = rom_name #NEWLINE# mock_rom . console = mock_console #NEWLINE# return mock_rom