Commit 344fdad9 authored by Tatuya Kamada's avatar Tatuya Kamada

Use transaction. get_transaction() is no longer exists.

parent edac6d0c
......@@ -11,6 +11,7 @@
"""Test suites for packaging of tiosafe
"""
import transaction
from testTioSafeMixin import testTioSafeMixin
from DateTime import DateTime
from AccessControl.SecurityManagement import newSecurityManager
......@@ -38,7 +39,7 @@ class TestPackaging(testTioSafeMixin):
start_date=DateTime(),
stop_date=DateTime() + 10,)
assignment.open()
get_transaction().commit()
transaction.commit()
self.tic()
zodb_roles = self.portal.acl_users.zodb_roles
......
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