Commit 0b9f9415 authored by Romain Courteaud's avatar Romain Courteaud

slapos_erp5: init preferences in test

parent 682ee9e1
......@@ -96,6 +96,13 @@ class TestSlapOSVirtualMasterScenario(TestSlapOSVirtualMasterScenarioMixin):
def test_virtual_master_without_accounting_scenario(self):
self.web_site = self.portal.web_site_module.slapos_master_panel
# some preparation
preference = self.portal.portal_preferences.slapos_default_system_preference
preference.edit(
preferred_subscription_assignment_category_list=[
'function/customer',
'role/client',
]
)
################################################################
# lets join as slapos accountant, which will manages currencies
......@@ -240,6 +247,7 @@ class TestSlapOSVirtualMasterScenario(TestSlapOSVirtualMasterScenarioMixin):
self.tic()
self.logout()
self.login()
self.checkServiceSubscriptionRequest(public_server)
# join as the another visitor and request software instance on public
......
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