diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2013-02-06 21:02:42 -0500 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2013-02-06 21:02:42 -0500 |
commit | 1986e78acbd45326ef0f846d1bf23f0541518431 (patch) | |
tree | f03de04b025b2cca607db175db50672fe4af2aa7 /lib/sqlalchemy/testing/suite/test_insert.py | |
parent | 8550a4c38629373baad853b3c37ca3bd92a2fe54 (diff) | |
download | sqlalchemy-1986e78acbd45326ef0f846d1bf23f0541518431.tar.gz |
- fix exclusion here
- mysql doesn't reset table counter here so test differently
Diffstat (limited to 'lib/sqlalchemy/testing/suite/test_insert.py')
-rw-r--r-- | lib/sqlalchemy/testing/suite/test_insert.py | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/lib/sqlalchemy/testing/suite/test_insert.py b/lib/sqlalchemy/testing/suite/test_insert.py index e3ef2b206..66aa1ecfa 100644 --- a/lib/sqlalchemy/testing/suite/test_insert.py +++ b/lib/sqlalchemy/testing/suite/test_insert.py @@ -115,15 +115,11 @@ class InsertBehaviorTest(fixtures.TablesTest): assert r.closed r = config.db.execute( - self.tables.autoinc_pk.select() + self.tables.autoinc_pk.select().\ + where(self.tables.autoinc_pk.c.id != None) ) - eq_( - r.fetchall(), - [(1, None)] - ) - - + assert len(r.fetchall()) class ReturningTest(fixtures.TablesTest): |