Commit bc14f4e7 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

testReturnedSalePackingList: commit Zope transaction before checking catalog results.

parent e6238b5f
......@@ -180,6 +180,7 @@ class ReturnedSalePackingListMixin(TestPackingListMixin):
# delete a delivery
self.portal.returned_sale_packing_list_module.manage_delObjects(
[returned_packing_list.getId(),])
self.commit()
found_rpl = portal_catalog(uid=returned_packing_list_uid)
self.assertEqual(0, len(found_rpl))
......
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