diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2007-09-01 21:21:29 +0000 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2007-09-01 21:21:29 +0000 |
| commit | 5df1759e151274594ca4691419f6be7e91257635 (patch) | |
| tree | 9b0d4feb0811f2320cb15a3c5305449a81845d79 /test/sql/defaults.py | |
| parent | 61f2ca2c9d708660c45d5e81bfd3337bb82bbe62 (diff) | |
| download | sqlalchemy-5df1759e151274594ca4691419f6be7e91257635.tar.gz | |
- got all examples working
- inline default execution occurs for *all* non-PK columns
unconditionally - preexecute only for non-executemany PK cols on
PG, Oracle, etc.
- new default docs
Diffstat (limited to 'test/sql/defaults.py')
| -rw-r--r-- | test/sql/defaults.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/sql/defaults.py b/test/sql/defaults.py index 1dbd60d57..7f2346672 100644 --- a/test/sql/defaults.py +++ b/test/sql/defaults.py @@ -132,7 +132,7 @@ class DefaultTest(PersistTest): def testinsert(self): r = t.insert().execute() assert r.lastrow_has_defaults() - assert util.Set(r.context.postfetch_cols()) == util.Set([t.c.col5, t.c.col4]) + assert util.Set(r.context.postfetch_cols()) == util.Set([t.c.col3, t.c.col5, t.c.col4, t.c.col6]) r = t.insert(inline=True).execute() assert r.lastrow_has_defaults() |
