#NEWLINE# def test_onclause_direction( self ) : #NEWLINE# #INDENT# metadata = MetaData ( ) #NEWLINE# employee = Table ( 'Employee' , metadata , Column ( 'name' , String ( 100 ) ) , Column ( 'id' , Integer , primary_key = True ) ) #NEWLINE# engineer = Table ( 'Engineer' , engineer , Column ( 'id' , Integer , ForeignKey ( 'Employee.id' ) , primary_key = True ) ) #NEWLINE# eq_ ( util . column_set ( employee . join ( engineer , ( employee . c . id == engineer . c . id ) ) . primary_key ) , util . column_set ( [ employee . c . id ] ) ) #NEWLINE# eq_ ( util . column_set ( employee . join ( engineer , ( engineer . c . id == employee . c . id ) ) . primary_key ) , util . column_set ( [ employee . c . id ] ) )