Commit 7e635da6 authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_jio: Add ERP5 Login on software_instance to use the API

  The API require a valid user with login
parent 3ce67a11
......@@ -403,6 +403,8 @@ class TestSlapOSHypermediaInstanceScenario(testSlapOSMixin):
def test(self):
self._makeTree()
instance = self.software_instance
self.portal.changeSkin('Hal')
self.tic()
......
......@@ -353,6 +353,8 @@ class testSlapOSMixin(ERP5TypeTestCase):
self.portal.portal_workflow._jumpToStateFor(self.software_instance, 'start_requested')
self.software_instance.validate()
self._addERP5Login(self.software_instance)
self.requested_software_instance.edit(
title=self.generateNewSoftwareTitle(),
reference="TESTSI-%s" % self.generateNewId(),
......
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