diff options
| author | Paul Johnston <paj@pajhome.org.uk> | 2008-02-08 13:45:19 +0000 |
|---|---|---|
| committer | Paul Johnston <paj@pajhome.org.uk> | 2008-02-08 13:45:19 +0000 |
| commit | 5049242f3b101f2b0761e1fb075488983528324f (patch) | |
| tree | 4af12d546662683373d24c21ff6e8a89b269d1ce /test | |
| parent | 7e6cd582ca364ff2890f4813871e6b0d65944959 (diff) | |
| download | sqlalchemy-5049242f3b101f2b0761e1fb075488983528324f.tar.gz | |
Fix some mssql unit tests
Diffstat (limited to 'test')
| -rwxr-xr-x | test/dialect/mssql.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/dialect/mssql.py b/test/dialect/mssql.py index 4fb918c7f..046fede10 100755 --- a/test/dialect/mssql.py +++ b/test/dialect/mssql.py @@ -1,6 +1,8 @@ import testenv; testenv.configure_for_tests() import re from sqlalchemy import * +from sqlalchemy.orm import * +from sqlalchemy import exceptions from sqlalchemy.sql import table, column from sqlalchemy.databases import mssql from testlib import * @@ -184,6 +186,11 @@ class QueryTest(PersistTest): finally: metadata.drop_all() +class Foo(object): + def __init__(self, **kw): + for k in kw: + setattr(self, k, kw[k]) + class GenerativeQueryTest(PersistTest): __only_on__ = 'mssql' |
