Commit 8b386f26 authored by Romain Courteaud's avatar Romain Courteaud

slapos_cloud: call script on the real web section

parent a34fe473
...@@ -78,7 +78,7 @@ class DefaultScenarioMixin(TestSlapOSSecurityMixin): ...@@ -78,7 +78,7 @@ class DefaultScenarioMixin(TestSlapOSSecurityMixin):
join_key = to_click_url.split('=')[-1] join_key = to_click_url.split('=')[-1]
self.assertNotEqual(join_key, None) self.assertNotEqual(join_key, None)
web_site.ERP5Site_activeLogin(key=join_key) web_site.hateoas.connection.ERP5Site_activeLogin(key=join_key)
self.assertEqual(self.portal.REQUEST.RESPONSE.getStatus(), 303) self.assertEqual(self.portal.REQUEST.RESPONSE.getStatus(), 303)
self.assertIn(self.web_site.getId() + "/%23%21login%3Fp.page%3Dslapos%7B%26n.me%7D", self.assertIn(self.web_site.getId() + "/%23%21login%3Fp.page%3Dslapos%7B%26n.me%7D",
......
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