#NEWLINE# def test_basics( self ) : #NEWLINE# #INDENT# temp_path = self . create_temp_file ( self . SAMPLE_TEXT ) #NEWLINE# expected_words = [ ( 'Flourish' , 3 ) , ( 'stomach' , 1 ) ] #NEWLINE# wordcount_debugging . run ( [ ( '--input=%s*' % temp_path ) , ( '--output=%s.result' % temp_path ) ] ) #NEWLINE# results = self . get_results ( temp_path ) #NEWLINE# self . assertEqual ( sorted ( results ) , sorted ( expected_words ) )