diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2007-11-07 22:25:01 +0000 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2007-11-07 22:25:01 +0000 |
commit | 750439ac5fc61f03a09226db5d82b36c8b86739e (patch) | |
tree | a54bbf8cf691a309fcf763e11183bd90e35099ae /test/testlib/testing.py | |
parent | a914fae9dbb43cfeadf63145fc392fff67cc3662 (diff) | |
download | sqlalchemy-750439ac5fc61f03a09226db5d82b36c8b86739e.tar.gz |
- fixed remainder of [ticket:853]
- bindparam 'shortname' is deprecated
- fixed testing.assert_compile() to actually generate bind param dict before asserting
- added bind param assertions to CRUDTest.test_update
Diffstat (limited to 'test/testlib/testing.py')
-rw-r--r-- | test/testlib/testing.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/testlib/testing.py b/test/testlib/testing.py index 6342ce898..95071a475 100644 --- a/test/testlib/testing.py +++ b/test/testlib/testing.py @@ -295,7 +295,7 @@ class SQLCompileTest(PersistTest): self.assert_(cc == result, "\n'" + cc + "'\n does not match \n'" + result + "'") if checkparams is not None: - self.assert_(c.params == checkparams, "params dont match" + repr(c.params)) + self.assert_(c.construct_params(params) == checkparams, "params dont match" + repr(c.params)) class AssertMixin(PersistTest): """given a list-based structure of keys/properties which represent information within an object structure, and |