From: Mike Bayer Date: Wed, 6 Feb 2013 17:52:37 +0000 (-0500) Subject: - need autoincrement here X-Git-Tag: rel_0_8_0~24^2~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d21f4d89251ecc0865039bcc9183220615ce280f;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git - need autoincrement here --- diff --git a/setup.py b/setup.py index 2950a12d40..a1332ed2ea 100644 --- a/setup.py +++ b/setup.py @@ -126,7 +126,7 @@ def run_setup(with_cext): author="Mike Bayer", author_email="mike_mp@zzzcomputing.com", url="http://www.sqlalchemy.org", - packages=find_packages('lib'), + packages=find_packages('lib', '.'), package_dir={'': 'lib'}, license="MIT License", cmdclass=cmdclass, diff --git a/test/orm/test_relationships.py b/test/orm/test_relationships.py index fb3f4f8240..e5789eb7c7 100644 --- a/test/orm/test_relationships.py +++ b/test/orm/test_relationships.py @@ -1967,7 +1967,8 @@ class RemoteForeignBetweenColsTest(fixtures.DeclarativeMappedTest): class Network(fixtures.ComparableEntity, Base): __tablename__ = "network" - id = Column(sa.Integer, primary_key=True) + id = Column(sa.Integer, primary_key=True, + test_needs_autoincrement=True) ip_net_addr = Column(Integer) ip_broadcast_addr = Column(Integer)