#NEWLINE# def test_rel_accessors( self ) : #NEWLINE# #INDENT# User = self . classes . User #NEWLINE# Address = self . classes . Address #NEWLINE# prop = inspect ( User . addresses ) #NEWLINE# is_ ( prop . property . parent , class_mapper ( User ) ) #NEWLINE# is_ ( prop . property . mapper , class_mapper ( Address ) ) #NEWLINE# is_ ( prop . parent , class_mapper ( User ) ) #NEWLINE# is_ ( User . mapper , class_mapper ( Address ) ) #NEWLINE# assert ( not hasattr ( prop , 'columns' ) ) #NEWLINE# assert hasattr ( prop , 'expression' )