Commit 47c28564 authored by Julien Muchembled's avatar Julien Muchembled

testDeliveryBuilderToSupportMultipleLines: simplify editing of activity tables

parent a8e749b6
...@@ -336,12 +336,11 @@ class TestNestedLine(TestNestedLineMixin, ERP5TypeTestCase): ...@@ -336,12 +336,11 @@ class TestNestedLine(TestNestedLineMixin, ERP5TypeTestCase):
return False return False
self.tic(stop_condition=stop_condition) self.tic(stop_condition=stop_condition)
update_causality_message_uid, = prioritize_uid_list update_causality_message_uid, = prioritize_uid_list
# make all other messages have less priority:
for table in 'message', 'message_queue': for table in 'message', 'message_queue':
self.portal.cmf_activity_sql_connection.manage_test(""" self.portal.cmf_activity_sql_connection.manage_test("""
update %s update %s
set priority=200 set priority=-200
where uid <> %s where uid = %s
""" % (table, update_causality_message_uid)) """ % (table, update_causality_message_uid))
self.tic() self.tic()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment