Commit 01c39f90 authored by Romain Courteaud's avatar Romain Courteaud

slapos_cloud: requesting a compute node requires a project

parent 611f6041
...@@ -122,8 +122,8 @@ class DefaultScenarioMixin(TestSlapOSSecurityMixin): ...@@ -122,8 +122,8 @@ class DefaultScenarioMixin(TestSlapOSSecurityMixin):
def setAccessToMemcached(self, agent): def setAccessToMemcached(self, agent):
agent.setAccessStatus("#access ") agent.setAccessStatus("#access ")
def requestComputeNode(self, title): def requestComputeNode(self, title, project_reference):
requestXml = self.portal.portal_slap.requestComputer(title) requestXml = self.portal.portal_slap.requestComputer(title, project_reference)
self.tic() self.tic()
self.assertTrue('marshal' in requestXml) self.assertTrue('marshal' in requestXml)
compute_node = xml_marshaller.xml_marshaller.loads(requestXml) compute_node = xml_marshaller.xml_marshaller.loads(requestXml)
......
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