diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2014-07-01 15:28:16 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2014-07-01 15:28:16 -0400 |
commit | 2ef224a5bac0eaf8f3ae7802762784a64bec40fc (patch) | |
tree | 658c9fc039405c3c59905ddfc300222671c630d9 | |
parent | 427ee3a61e9732fe41c10d2f8ab6650f24bb3d7c (diff) | |
download | sqlalchemy-2ef224a5bac0eaf8f3ae7802762784a64bec40fc.tar.gz |
- ensure ACID set up on this table for MySQL
-rw-r--r-- | test/orm/test_naturalpks.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/orm/test_naturalpks.py b/test/orm/test_naturalpks.py index b394b46ca..9f35b001a 100644 --- a/test/orm/test_naturalpks.py +++ b/test/orm/test_naturalpks.py @@ -497,9 +497,10 @@ class ReversePKsTest(fixtures.MappedTest): def define_tables(cls, metadata): Table( 'user', metadata, - Column('code', Integer, primary_key=True), - Column('status', Integer, primary_key=True), + Column('code', Integer, autoincrement=False, primary_key=True), + Column('status', Integer, autoincrement=False, primary_key=True), Column('username', String(50), nullable=False), + test_needs_acid=True ) @classmethod |