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