Commit 16f5c046 authored by Sebastien Robin's avatar Sebastien Robin

release locks with a commit, this makes this test closer to reality

parent b8667275
No related merge requests found
......@@ -27,6 +27,7 @@
#
##############################################################################
import transaction
import unittest
from Testing import ZopeTestCase
......@@ -231,6 +232,9 @@ class TestArchive(InventoryAPITestCase):
)
dest.ready()
# make sure to commit to release any lock on tables
transaction.commit()
# Do archive
portal_archive.manage_archive(destination_archive_id=dest.getId(),
archive_id=archive.getId(),
......
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