From: Mike Bayer Date: Tue, 17 Dec 2013 21:28:43 +0000 (-0500) Subject: autoincrement here X-Git-Tag: rel_0_8_5~71 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3c4a565f2da0291b604f5a2cabe7054c8f8a2637;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git autoincrement here --- diff --git a/test/orm/test_subquery_relations.py b/test/orm/test_subquery_relations.py index 26feff689e..047a4c59c3 100644 --- a/test/orm/test_subquery_relations.py +++ b/test/orm/test_subquery_relations.py @@ -1777,7 +1777,7 @@ class JoinedNoLoadConflictTest(fixtures.DeclarativeMappedTest): class Parent(ComparableEntity, Base): __tablename__ = 'parent' - id = Column(Integer, primary_key=True) + id = Column(Integer, primary_key=True, test_needs_autoincrement=True) name = Column(String(20)) children = relationship('Child', @@ -1788,7 +1788,7 @@ class JoinedNoLoadConflictTest(fixtures.DeclarativeMappedTest): class Child(ComparableEntity, Base): __tablename__ = 'child' - id = Column(Integer, primary_key=True) + id = Column(Integer, primary_key=True, test_needs_autoincrement=True) name = Column(String(20)) parent_id = Column(Integer, ForeignKey('parent.id'))