Commit 5018a941 authored by Rafael Monnerat's avatar Rafael Monnerat

testSlapOSHypermediaScenario: Only create ERP5 Login on the right context

parent 0c43c199
...@@ -404,6 +404,7 @@ class TestSlapOSHypermediaInstanceScenario(testSlapOSMixin): ...@@ -404,6 +404,7 @@ class TestSlapOSHypermediaInstanceScenario(testSlapOSMixin):
self._makeTree() self._makeTree()
instance = self.software_instance instance = self.software_instance
self._addERP5Login(self.software_instance)
self.portal.changeSkin('Hal') self.portal.changeSkin('Hal')
self.tic() self.tic()
......
...@@ -353,7 +353,6 @@ class testSlapOSMixin(ERP5TypeTestCase): ...@@ -353,7 +353,6 @@ class testSlapOSMixin(ERP5TypeTestCase):
self.portal.portal_workflow._jumpToStateFor(self.software_instance, 'start_requested') self.portal.portal_workflow._jumpToStateFor(self.software_instance, 'start_requested')
self.software_instance.validate() self.software_instance.validate()
self._addERP5Login(self.software_instance)
self.requested_software_instance.edit( self.requested_software_instance.edit(
title=self.generateNewSoftwareTitle(), title=self.generateNewSoftwareTitle(),
......
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