Commits

Mike Bayer  committed b8e6c36

two tests which assumed autoincrement=False for integer PK columns now require it
to be explicit due to r3255.

  • Participants
  • Parent commits 59c7644

Comments (0)

Files changed (1)

File test/orm/relationships.py

         pagecomments = Table("pagecomments", metadata,
             Column("jobno", Unicode(15), primary_key=True),
             Column("pagename", Unicode(30), primary_key=True),
-            Column("comment_id", Integer, primary_key=True),
+            Column("comment_id", Integer, primary_key=True, autoincrement=False),
             Column("content", Unicode),
             ForeignKeyConstraint(["jobno", "pagename"], ["pages.jobno", "pages.pagename"])
         )
             Column('item_policy_num', String(10), primary_key=True, key='policyNum'),
             Column('item_policy_eff_date', Date, primary_key=True, key='policyEffDate'),
             Column('item_type', String(20), primary_key=True, key='type'),
-            Column('item_id', Integer, primary_key=True, key='id'),
+            Column('item_id', Integer, primary_key=True, key='id', autoincrement=False),
         )
 
     def test_basic(self):