Commit d932e162 authored by Romain Courteaud's avatar Romain Courteaud

Change the subscription price.

parent e8ad8777
...@@ -92,7 +92,7 @@ for movement in movement_list:\n ...@@ -92,7 +92,7 @@ for movement in movement_list:\n
price_currency=movement.getPriceCurrency()\n price_currency=movement.getPriceCurrency()\n
)\n )\n
if movement.getResource() == \'service_module/slapos_instance_subscription\':\n if movement.getResource() == \'service_module/slapos_instance_subscription\':\n
temp_movement.edit(price=1.0)\n temp_movement.edit(price=0.84)\n
else:\n else:\n
temp_movement.edit(price=0.0)\n temp_movement.edit(price=0.0)\n
temp_movement_list.append(temp_movement)\n temp_movement_list.append(temp_movement)\n
......
...@@ -1542,7 +1542,7 @@ class TestSlapOSAggregatedDeliveryBuilder(testSlapOSMixin): ...@@ -1542,7 +1542,7 @@ class TestSlapOSAggregatedDeliveryBuilder(testSlapOSMixin):
built_update_line.getResource()) built_update_line.getResource())
self.assertEqual(1.0, built_subscription_line.getQuantity()) self.assertEqual(1.0, built_subscription_line.getQuantity())
self.assertEqual(1.0, built_subscription_line.getPrice()) self.assertEqual(0.84, built_subscription_line.getPrice())
self.assertEqual(subscription_line.getResource(), self.assertEqual(subscription_line.getResource(),
built_subscription_line.getResource()) built_subscription_line.getResource())
......
200 201
\ No newline at end of file \ No newline at end of file
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