Commit 63789ff5 authored by Łukasz Nowak's avatar Łukasz Nowak

Price has been changed.

parent 4bd20237
...@@ -59,7 +59,7 @@ class TestVifibInstanceHostingRelatedDocument(TestVifibSlapWebServiceMixin): ...@@ -59,7 +59,7 @@ class TestVifibInstanceHostingRelatedDocument(TestVifibSlapWebServiceMixin):
delivery_line.getQuantity()) delivery_line.getQuantity())
self.assertEquals("unit/piece", self.assertEquals("unit/piece",
delivery_line.getQuantityUnit()) delivery_line.getQuantityUnit())
self.assertEquals(1, self.assertEquals(0.83612040133800003,
delivery_line.getPrice()) delivery_line.getPrice())
# fetch open order, open order line and subscription # fetch open order, open order line and subscription
......
...@@ -108,7 +108,7 @@ class TestVifibOpenOrderSimulation(TestVifibSlapWebServiceMixin): ...@@ -108,7 +108,7 @@ class TestVifibOpenOrderSimulation(TestVifibSlapWebServiceMixin):
simulation_movement.getQuantity()) simulation_movement.getQuantity())
self.assertEquals("unit/piece", self.assertEquals("unit/piece",
simulation_movement.getQuantityUnit()) simulation_movement.getQuantityUnit())
self.assertEquals(1.0, self.assertEquals(0.83612040133800003,
simulation_movement.getPrice()) simulation_movement.getPrice())
self.assertEquals("currency_module/EUR", self.assertEquals("currency_module/EUR",
simulation_movement.getPriceCurrency()) simulation_movement.getPriceCurrency())
......
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