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

getId now raises if instance is not allocated yet

parent f316edc3
...@@ -2093,6 +2093,11 @@ class TestVifibSlapWebServiceMixin(testVifibMixin): ...@@ -2093,6 +2093,11 @@ 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()
try:
requested_slap_computer_partition.getId()
except slap.ResourceNotReady:
pass
else:
sequence.edit( sequence.edit(
requested_slap_computer_partition=requested_slap_computer_partition, requested_slap_computer_partition=requested_slap_computer_partition,
requested_computer_partition_reference=\ requested_computer_partition_reference=\
......
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