From c9593d3290121ca44a0f7ade0fff0cfa16b739b2 Mon Sep 17 00:00:00 2001 From: Leonardo Rochael Almeida <leonardo@nexedi.com> Date: Tue, 13 Apr 2010 20:30:42 +0000 Subject: [PATCH] get_transaction() is no more git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@34531 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/tests/testBug.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/product/ERP5/tests/testBug.py b/product/ERP5/tests/testBug.py index 5f574f2258..59bdbbb27a 100644 --- a/product/ERP5/tests/testBug.py +++ b/product/ERP5/tests/testBug.py @@ -586,10 +586,10 @@ class TestBug(ERP5TypeTestCase): cloned_bug_line = bug_line.Base_createCloneDocument(batch_mode=1) self.workflow_tool.doActionFor(bug, 'confirm_action', send_event=1) self.assertEquals(bug.getSimulationState(), 'confirmed') - get_transaction().commit() + transaction.commit() self.tic() bug.deleteContent(id='2') - get_transaction().commit() + transaction.commit() self.tic() self.workflow_tool.doActionFor(bug, 'stop_action', send_event=1) self.assertEquals(bug.getSimulationState(), 'stopped') -- 2.30.9