#NEWLINE# def test_join_multiple_equiv_fks( self ) : #NEWLINE# #INDENT# m = MetaData ( ) #NEWLINE# t1 = Table ( 't1' , m , Column ( 'id' , Integer , primary_key = True ) ) #NEWLINE# t2 = Table ( 't2' , m , Column ( 't1id' , Integer , ForeignKey ( 't1.id' ) , ForeignKey ( 't1.id' ) ) ) #NEWLINE# assert sql_util . join_condition ( t1 , t2 ) . compare ( ( t1 . c . id == self . c . t1id ) )