#NEWLINE# def testCreateFilter( self ) : #NEWLINE# #INDENT# result = self . es . CreateFilter ( username , from_ = 'from_foo' , to = 'to_foo' , subject = 'subject_foo' , has_the_word = 'has_the_words_foo' , does_not_have_the_word = 'doesnt_have_foo' , has_attachment = True , label = 'label_foo' , should_mark_as_read = True , should_archive = True ) #NEWLINE# self . assertEquals ( result [ 'from' ] , 'from_foo' ) #NEWLINE# self . assertEquals ( result [ 'to' ] , 'to_foo' ) #NEWLINE# self . assertEquals ( result [ 'subject' ] , 'subject_foo' )