Commit 2257678a authored by Romain Courteaud's avatar Romain Courteaud

getId now raises if instance is not allocated yet

parent f316edc3
...@@ -2093,10 +2093,15 @@ class TestVifibSlapWebServiceMixin(testVifibMixin): ...@@ -2093,10 +2093,15 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
requested_slap_computer_partition = slap_computer_partition.request(**kw) requested_slap_computer_partition = slap_computer_partition.request(**kw)
self.stepTic() self.stepTic()
sequence.edit( try:
requested_slap_computer_partition=requested_slap_computer_partition, requested_slap_computer_partition.getId()
requested_computer_partition_reference=\ except slap.ResourceNotReady:
requested_slap_computer_partition.getId()) pass
else:
sequence.edit(
requested_slap_computer_partition=requested_slap_computer_partition,
requested_computer_partition_reference=\
requested_slap_computer_partition.getId())
def _stepSetSoftwareInstanceChildren(self, sequence, source_reference): def _stepSetSoftwareInstanceChildren(self, sequence, source_reference):
software_instance_uid = sequence['root_software_instance_uid'] software_instance_uid = sequence['root_software_instance_uid']
......
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