Commit d94f85f9 authored by Łukasz Nowak's avatar Łukasz Nowak

Check proper method.

Confirm became meaningless.
parent de713c10
......@@ -2144,9 +2144,10 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
Base.serialize = verify_serialize_call
try:
sale_order_ordered = self.portal.portal_catalog.getResultValue(
portal_type="Sale Order", simulation_state="ordered")
self.assertRaises(DummyTestException, sale_order_ordered.confirm)
sale_order_line_ordered = self.portal.portal_catalog.getResultValue(
portal_type="Sale Order Line", simulation_state="ordered")
self.assertRaises(DummyTestException,
sale_order_line_ordered.SaleOrderLine_tryToAllocatePartition)
finally:
Base.serialize = Base.serialize_call
......
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