Commit 08bf9925 authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_jio: Fixup and add tests for Allocation Information

parent 67d8f336
...@@ -100,10 +100,11 @@ class TestSlapOSHalJsonStyleMixin(SlapOSTestCaseMixinWithAbort): ...@@ -100,10 +100,11 @@ class TestSlapOSHalJsonStyleMixin(SlapOSTestCaseMixinWithAbort):
return instance return instance
def _makeComputeNode(self, owner=None, allocation_scope='open/public'): def _makeComputeNode(self, owner=None, allocation_scope='open/public'):
SlapOSTestCaseMixinWithAbort._makeComputeNode( _, partition0 =SlapOSTestCaseMixinWithAbort._makeComputeNode(
self, owner=owner, allocation_scope=allocation_scope self, owner=owner, allocation_scope=allocation_scope
) )
self.partition0 = partition0
reference = 'TESTPART-%s' % self.generateNewId() reference = 'TESTPART-%s' % self.generateNewId()
self.partition1 = self.compute_node.newContent( self.partition1 = self.compute_node.newContent(
portal_type="Compute Partition", portal_type="Compute Partition",
......
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