#NEWLINE# def test_ignores_directories_with_names_like_files( self ) : #NEWLINE# #INDENT# rom = self . create_mock_rom ( 'Megaman' ) #NEWLINE# os . mkdir ( os . path . join ( self . temp_directory , 'Megaman.png' ) ) #NEWLINE# self . assertIsNone ( self . provider . image_for_rom ( rom ) )