summaryrefslogtreecommitdiff
path: root/test/sql/select.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2008-04-04 18:41:08 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2008-04-04 18:41:08 +0000
commitde209ded31c3914d70e5372b0c49b6fd84639d48 (patch)
treed898f3c131de14b6f682a32e03da238a6b498def /test/sql/select.py
parent1a684567958d548f7ed68ba34bc17bffbadfb8ee (diff)
downloadsqlalchemy-de209ded31c3914d70e5372b0c49b6fd84639d48.tar.gz
factored down exportable_columns/flatten_cols/proxy_column/oid_etc_yada down to a single, streamlined "_populate_column_collection" method called for all selectables
Diffstat (limited to 'test/sql/select.py')
-rw-r--r--test/sql/select.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/sql/select.py b/test/sql/select.py
index 77926b421..e6c186bcb 100644
--- a/test/sql/select.py
+++ b/test/sql/select.py
@@ -829,6 +829,9 @@ FROM mytable UNION SELECT myothertable.otherid, myothertable.othername \
FROM myothertable UNION SELECT thirdtable.userid, thirdtable.otherstuff FROM thirdtable")
assert u1.corresponding_column(table2.c.otherid) is u1.c.myid
+
+ assert u1.corresponding_column(table1.oid_column) is u1.oid_column
+ assert u1.corresponding_column(table2.oid_column) is u1.oid_column
# TODO - why is there an extra space before the LIMIT ?
self.assert_compile(