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

Follow code change.

Open Order modification is a bit more optimised.
parent dd75f1e4
......@@ -143,12 +143,11 @@ class TestVifibOpenOrderSimulation(TestVifibSlapWebServiceMixin):
def stepCheckThreeTopLevelSimulationMovement(self, sequence, **kw):
hosting_subscription = self.portal.portal_catalog.getResultValue(
uid=sequence['hosting_subscription_uid'])
# 4 open order lines:
# 3 open order lines:
# * one without dates
# * one with start date
# * one with start date and stop date
# * one with stop date extended by test
self.assertEqual(4, self.portal.portal_catalog.countResults(
self.assertEqual(3, self.portal.portal_catalog.countResults(
default_aggregate_uid=sequence['hosting_subscription_uid'],
portal_type='Open Sale Order Line')[0][0]
)
......
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