summaryrefslogtreecommitdiff
path: root/test/sql/test_defaults.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2011-01-15 16:50:52 -0500
committerMike Bayer <mike_mp@zzzcomputing.com>2011-01-15 16:50:52 -0500
commitaedd34f34f083019918fc30c280fbe8ad57eeecf (patch)
tree1e3dc0b810f179e38982064e4955a8b6c8b01aca /test/sql/test_defaults.py
parentdff5a404e489d5215da5aa30870b78aca8423de5 (diff)
downloadsqlalchemy-aedd34f34f083019918fc30c280fbe8ad57eeecf.tar.gz
Regarding reflection for this case, reflection of an int PK col
with a server_default sets the "autoincrement" flag to False, except in the case of a PG SERIAL col where we detected a sequence default. [ticket:2020] [ticket:2021]
Diffstat (limited to 'test/sql/test_defaults.py')
-rw-r--r--test/sql/test_defaults.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/test/sql/test_defaults.py b/test/sql/test_defaults.py
index 0d099a786..1f2226842 100644
--- a/test/sql/test_defaults.py
+++ b/test/sql/test_defaults.py
@@ -836,9 +836,6 @@ class ServerDefaultsOnPKTest(testing.TestBase):
t.select().execute().fetchall(),
[(5, 'data')]
)
- @testing.fails_on('firebird', "col comes back as autoincrement")
- @testing.fails_on('sqlite', "col comes back as autoincrement")
- @testing.fails_on('oracle', "col comes back as autoincrement")
@testing.provide_metadata
def test_autoincrement_reflected_from_server_default(self):
t = Table('x', metadata,
@@ -854,8 +851,6 @@ class ServerDefaultsOnPKTest(testing.TestBase):
t2 = Table('x', m2, autoload=True, implicit_returning=False)
assert t2._autoincrement_column is None
- @testing.fails_on('firebird', "attempts to insert None")
- @testing.fails_on('sqlite', "returns a value")
@testing.provide_metadata
def test_int_default_none_on_insert_reflected(self):
t = Table('x', metadata,