diff options
| author | Jason Kirtland <jek@discorporate.us> | 2007-08-21 01:31:23 +0000 |
|---|---|---|
| committer | Jason Kirtland <jek@discorporate.us> | 2007-08-21 01:31:23 +0000 |
| commit | 6228e72cb15be6e84260440d20369c91858b4640 (patch) | |
| tree | e73b103dae905c13f3739bc4e94719974d72b9e1 /test/sql/query.py | |
| parent | 83eb2431247ff3392a984f034fb3ffd009d81009 (diff) | |
| download | sqlalchemy-6228e72cb15be6e84260440d20369c91858b4640.tar.gz | |
- omitted 'table' and 'column' from 'from sqlalchemy import *'
- also omitted all modules and classes that aren't expicitly public
- omitted 'Smallinteger' (small i), but it's still in schema
- omitted NullType-related items from types.__all__
- patched up a few tests to use sql.table and sql.column, other related.
Diffstat (limited to 'test/sql/query.py')
| -rw-r--r-- | test/sql/query.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/sql/query.py b/test/sql/query.py index ddd5348c4..4e68fb980 100644 --- a/test/sql/query.py +++ b/test/sql/query.py @@ -1,7 +1,7 @@ import testbase import datetime from sqlalchemy import * -from sqlalchemy import exceptions +from sqlalchemy import exceptions, sql from sqlalchemy.engine import default from testlib import * @@ -397,7 +397,7 @@ class QueryTest(PersistTest): w = select(['*'], from_obj=[testbase.db.func.current_date()]).scalar() # construct a column-based FROM object out of a function, like in [ticket:172] - s = select([column('date', type_=DateTime)], from_obj=[testbase.db.func.current_date()]) + s = select([sql.column('date', type_=DateTime)], from_obj=[testbase.db.func.current_date()]) q = s.execute().fetchone()[s.c.date] r = s.alias('datequery').select().scalar() |
