#NEWLINE# def test_eq( self ) : #NEWLINE# #INDENT# umapper = inspect ( self . classes . User ) #NEWLINE# amapper = inspect ( self . classes . Address ) #NEWLINE# u_alias = inspect ( aliased ( self . classes . User ) ) #NEWLINE# p1 = PathRegistry . coerce ( ( umapper , umapper . attrs . addresses ) ) #NEWLINE# p2 = PathRegistry . coerce ( ( umapper , umapper . attrs . addresses ) ) #NEWLINE# p3 = PathRegistry . coerce ( ( umapper , umapper . attrs . name ) ) #NEWLINE# p4 = PathRegistry . coerce ( ( u_alias , umapper . attrs . addresses ) ) #NEWLINE# p5 = PathRegistry . coerce ( ( umapper , umapper . attrs . addresses , amapper ) ) #NEWLINE# p6 = PathRegistry . coerce ( ( amapper , amapper . attrs . user , umapper , umapper . attrs . addresses ) ) #NEWLINE# p7 = PathRegistry . coerce ( ( amapper , amapper . attrs . user , umapper , umapper . attrs . addresses , amapper , amapper . attrs . email_address ) ) #NEWLINE# is_ ( ( p1 == p2 ) , True ) #NEWLINE# is_ ( ( p1 == p3 ) , False ) #NEWLINE# is_ ( ( p1 == p4 ) , False ) #NEWLINE# is_ ( ( p1 == p5 ) , False ) #NEWLINE# is_ ( ( p6 == p7 ) , False ) #NEWLINE# is_ ( ( p6 == p7 . parent . parent ) , True ) #NEWLINE# is_ ( ( p1 != p2 ) , False ) #NEWLINE# is_ ( ( p1 != p3 ) , True ) #NEWLINE# is_ ( ( p1 != p4 ) , True ) #NEWLINE# is_ ( ( p1 != p5 ) , True )