Commit 5d63afc5 authored by Romain Courteaud's avatar Romain Courteaud

slapos_accounting: stop hardcoding default quantity unit

parent 483d6d78
...@@ -22,7 +22,6 @@ class TestSlapOSSaleSupply(SlapOSTestCaseMixin): ...@@ -22,7 +22,6 @@ class TestSlapOSSaleSupply(SlapOSTestCaseMixin):
simple_product = self.portal.software_product_module.newContent( simple_product = self.portal.software_product_module.newContent(
portal_type="Software Product", portal_type="Software Product",
title="Simple Product", title="Simple Product",
quantity_unit='time/month',
) )
simple_product.newContent( simple_product.newContent(
portal_type="Software Product Type Variation", portal_type="Software Product Type Variation",
...@@ -35,8 +34,7 @@ class TestSlapOSSaleSupply(SlapOSTestCaseMixin): ...@@ -35,8 +34,7 @@ class TestSlapOSSaleSupply(SlapOSTestCaseMixin):
complex_product = self.portal.software_product_module.newContent( complex_product = self.portal.software_product_module.newContent(
portal_type="Software Product", portal_type="Software Product",
title="Complex Product", title="Complex Product"
quantity_unit='time/month',
) )
complex_product.newContent( complex_product.newContent(
portal_type="Software Product Type Variation", portal_type="Software Product Type Variation",
......
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