From c0b5a0446bf63bdac664421f49742f1156c1911a Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Mon, 11 Feb 2008 00:28:39 +0000 Subject: - updated the naming scheme of the base test classes in test/testlib/testing.py; tests extend from either TestBase or ORMTest, using additional mixins for special assertion methods as needed --- test/sql/functions.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/sql/functions.py') diff --git a/test/sql/functions.py b/test/sql/functions.py index fe4bbd7ac..f6b1e67f1 100644 --- a/test/sql/functions.py +++ b/test/sql/functions.py @@ -21,7 +21,7 @@ if testing.db.name not in databases.__all__: dialects.append(testing.db.dialect) -class CompileTest(SQLCompileTest): +class CompileTest(TestBase, AssertsCompiledSQL): def test_compile(self): for dialect in dialects: bindtemplate = BIND_TEMPLATES[dialect.paramstyle] @@ -139,7 +139,7 @@ class CompileTest(SQLCompileTest): , checkparams={'y_1': 45, 'x_1': 17, 'y_2': 12, 'x_2': 5}) -class ExecuteTest(PersistTest): +class ExecuteTest(TestBase): def test_standalone_execute(self): x = testing.db.func.current_date().execute().scalar() -- cgit v1.2.1