#NEWLINE# def test_enumerate_files_with_filter( self ) : #NEWLINE# #INDENT# result = [ 'test/fixtures/dirB/img/img1.jpg' , 'test/fixtures/dirB/img/img3.tiff' ] #NEWLINE# self . dir . ignore = [ '.*\\.png' ] #NEWLINE# files = self . dir . enumerate_files ( 'test/fixtures/dirB' ) #NEWLINE# self . assertEqual ( files , result )