#NEWLINE# def test__filter_attribute_single( self ) : #NEWLINE# #INDENT# targ = [ self . sigs1a [ 0 ] ] #NEWLINE# name = self . sigs1a [ 0 ] . name #NEWLINE# res0 = self . targobj . filter ( name = name ) #NEWLINE# res1 = self . targobj . filter ( { #NEWLINE# #INDENT# 'name' : name , #NEWLINE# #UNINDENT# } ) #NEWLINE# res2 = self . targobj . filter ( targdict = { #NEWLINE# #INDENT# 'name' : name , #NEWLINE# #UNINDENT# } ) #NEWLINE# assert_same_sub_schema ( res0 , targ ) #NEWLINE# assert_same_sub_schema ( res1 , targ ) #NEWLINE# assert_same_sub_schema ( res2 , res2 )