From 5049242f3b101f2b0761e1fb075488983528324f Mon Sep 17 00:00:00 2001 From: Paul Johnston Date: Fri, 8 Feb 2008 13:45:19 +0000 Subject: [PATCH] Fix some mssql unit tests --- test/dialect/mssql.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/test/dialect/mssql.py b/test/dialect/mssql.py index 4fb918c7f3..046fede102 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' -- 2.47.3