From: Mike Bayer Date: Thu, 15 Apr 2010 04:28:38 +0000 (-0400) Subject: adjust incoming params to add keys that are specific to the compiled, i.e. oracle... X-Git-Tag: rel_0_6_0~18 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=71295ff7899c6078271196b2b8a51cbc81db239d;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git adjust incoming params to add keys that are specific to the compiled, i.e. oracle's out params with returning --- diff --git a/lib/sqlalchemy/test/assertsql.py b/lib/sqlalchemy/test/assertsql.py index 81ef73a7cc..76f30f13bf 100644 --- a/lib/sqlalchemy/test/assertsql.py +++ b/lib/sqlalchemy/test/assertsql.py @@ -160,6 +160,9 @@ class CompiledSQL(SQLMatchRule): all_received = list(_received_parameters) while params: param = params.pop(0) + for k, v in context.compiled.params.iteritems(): + param.setdefault(k, v) + if param not in _received_parameters: equivalent = False break