Commit 24ba8247 authored by Romain Courteaud's avatar Romain Courteaud

slapos_panel_ui_test: add Sale Supply for virtual master

parent 6e1c9798
......@@ -64,6 +64,21 @@ def ERP5Site_bootstrapSlapOSPanelTest(self, step, scenario, customer_login,
specialise='business_process_module/slapos_ultimate_business_process',
)
trade_condition.validate()
if scenario == 'accounting':
# Sale trade condition
sale_supply = portal.sale_supply_module.newContent(
portal_type="Sale Supply",
title="Test project",
price_currency_value=currency,
)
sale_supply.newContent(
portal_type="Sale Supply Line",
base_price=24,
resource="service_module/slapos_virtual_master_subscription"
)
sale_supply.validate()
finally:
setSecurityManager(sm)
......
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