diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2008-02-11 00:28:39 +0000 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2008-02-11 00:28:39 +0000 |
commit | c0b5a0446bf63bdac664421f49742f1156c1911a (patch) | |
tree | 9d7822f91325d23e512e77701c9f1280d968ea20 /test/sql/functions.py | |
parent | 90c572b513fb33cb5cd17134efb6018abc76bb1f (diff) | |
download | sqlalchemy-c0b5a0446bf63bdac664421f49742f1156c1911a.tar.gz |
- 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
Diffstat (limited to 'test/sql/functions.py')
-rw-r--r-- | test/sql/functions.py | 4 |
1 files changed, 2 insertions, 2 deletions
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() |