Commit 1887f1f6 authored by Titouan Soulard's avatar Titouan Soulard

slapos_cloud: use _addCertificateLogin (track upstream changes)

parent ef67d775
......@@ -115,9 +115,7 @@ class SlapOSComputeNodeMixin(object):
dict (
time=time.time(),
refresh_etag=refresh_etag,
data=computer_dict,
# Store the XML while SlapTool Still used
data_xml=self.getPortalObject().portal_slap._getSlapComputeNodeXMLFromDict(computer_dict)
data=computer_dict
),
cache_duration=self.getPortalObject().portal_caches\
.getRamCacheRoot().get('compute_node_information_cache_factory'\
......
......@@ -96,7 +96,7 @@ class TestSlapOSJIOAPIMixin(SlapOSTestCaseMixin):
self.compute_node.validate()
# Make compute node access
self._addERP5Login(self.compute_node)
self._addCertificateLogin(self.compute_node)
self.tic()
......
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