Commit 78028c5e authored by Nicolas Wavrant's avatar Nicolas Wavrant

fixup! testInventoryAPI: fix property setters

parent be0b1907
...@@ -2818,15 +2818,15 @@ class TestTrackingList(InventoryAPITestCase): ...@@ -2818,15 +2818,15 @@ class TestTrackingList(InventoryAPITestCase):
node_b = self._makeOrganisation(title='Node B') node_b = self._makeOrganisation(title='Node B')
node_c = self._makeOrganisation(title='Node C') node_c = self._makeOrganisation(title='Node C')
movement_a = self._makeMovement(source_value=node_a, movement_a = self._makeMovement(source_value=node_a,
destination_value=node_b, resource=self.resource.getResource(), destination_value=node_b, resource=self.resource.getRelativeUrl(),
quantity=1, aggregate_value=item_a, start_date=now, quantity=1, aggregate_value=item_a, start_date=now,
simulation_state=state_a) simulation_state=state_a)
movement_b = self._makeMovement(source_value=node_b, movement_b = self._makeMovement(source_value=node_b,
destination_value=node_c, resource=self.resource.getResource(), destination_value=node_c, resource=self.resource.getRelativeUrl(),
quantity=1, aggregate_value=item_a, start_date=now+1, quantity=1, aggregate_value=item_a, start_date=now+1,
simulation_state=state_b) simulation_state=state_b)
movement_c = self._makeMovement(source_value=node_a, movement_c = self._makeMovement(source_value=node_a,
destination_value=node_b, resource=self.resource.getResource(), destination_value=node_b, resource=self.resource.getRelativeUrl(),
quantity=1, aggregate_value=item_b, start_date=now+1, quantity=1, aggregate_value=item_b, start_date=now+1,
simulation_state=state_c) simulation_state=state_c)
self.tic() self.tic()
......
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