diff options
Diffstat (limited to 'test/orm/inheritance5.py')
-rw-r--r-- | test/orm/inheritance5.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/orm/inheritance5.py b/test/orm/inheritance5.py index 56a83f575..b0a905f33 100644 --- a/test/orm/inheritance5.py +++ b/test/orm/inheritance5.py @@ -843,9 +843,11 @@ class CustomPKTest(testbase.ORMTest): Column('id', Integer, primary_key=True), Column('type', String(30), nullable=False), Column('data', String(30))) + # note that the primary key column in t2 is named differently t2 = Table('t2', metadata, Column('t2id', Integer, ForeignKey('t1.id'), primary_key=True), Column('t2data', String(30))) + def test_custompk(self): """test that the primary_key attribute is propigated to the polymorphic mapper""" |