#NEWLINE# @ classmethod #NEWLINE# def define_tables( cls , metadata ) : #NEWLINE# #INDENT# Table ( 'single' , metadata , Column ( 'id' , Integer , primary_key = True ) , Column ( 'type' , String ( 10 ) ) , test_needs_fk = True ) #NEWLINE# Table ( 'joined_base' , metadata , Column ( 'id' , Integer , primary_key = True ) , Column ( 'type' , String ( 10 ) ) , test_needs_fk = True ) #NEWLINE# Table ( 'joined_inh' , metadata , Column ( 'id' , Integer , ForeignKey ( 'joined_base.id' ) , primary_key = True ) , test_needs_fk = True ) #NEWLINE# FixtureTest . define_tables ( metadata )