Commit f198efab authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

testReturnedSalePackingList: commit Zope transaction before checking catalog results.

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