Commit c0a88f06 authored by Romain Courteaud's avatar Romain Courteaud

slapos_panel_ui_test: fixup

parent 5b45be00
......@@ -188,12 +188,18 @@ def ERP5Site_bootstrapSlapOSPanelTest(self, step, scenario, customer_login,
).open()
if scenario == 'customer_remote':
customer_person.Person_addVirtualMaster(
remote_project = customer_person.Person_addVirtualMaster(
'Test Remote Project',
scenario == 'accounting',
scenario == 'accounting',
currency.getRelativeUrl(),
batch=1)
remote_customer_person.newContent(
portal_type='Assignment',
title='Customer for project %s' % remote_project.getTitle(),
destination_project_value=remote_project,
function='customer'
).open()
finally:
......
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