summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorPaul Johnston <paj@pajhome.org.uk>2008-02-08 13:45:19 +0000
committerPaul Johnston <paj@pajhome.org.uk>2008-02-08 13:45:19 +0000
commit5049242f3b101f2b0761e1fb075488983528324f (patch)
tree4af12d546662683373d24c21ff6e8a89b269d1ce /test
parent7e6cd582ca364ff2890f4813871e6b0d65944959 (diff)
downloadsqlalchemy-5049242f3b101f2b0761e1fb075488983528324f.tar.gz
Fix some mssql unit tests
Diffstat (limited to 'test')
-rwxr-xr-xtest/dialect/mssql.py7
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'