]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
this falls back to "expire" in any case since concat_op is not supported by the evaluator
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 2 May 2009 15:35:37 +0000 (15:35 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 2 May 2009 15:35:37 +0000 (15:35 +0000)
test/orm/query.py

index 11d3377e8afdcb75c454c95552077121b11c5656..e95f10ba29691d1836dfc2a7c5f305c35d1720ea 100644 (file)
@@ -3016,7 +3016,7 @@ class UpdateDeleteTest(_base.MappedTest):
         sess = create_session(bind=testing.db, autocommit=False)
 
         foo,bar,baz = sess.query(Document).order_by(Document.id).all()
-        sess.query(Document).filter(Document.user_id == 1).update({'title': Document.title+Document.title}, synchronize_session='evaluate')
+        sess.query(Document).filter(Document.user_id == 1).update({'title': Document.title+Document.title}, synchronize_session='expire')
 
         eq_([foo.title, bar.title, baz.title], ['foofoo','barbar', 'baz'])
         eq_(sess.query(Document.title).order_by(Document.id).all(), zip(['foofoo','barbar', 'baz']))