Commit 5cd13fcd authored by Romain Courteaud's avatar Romain Courteaud

getId now raises if instance is not allocated yet

parent 2257678a
......@@ -343,6 +343,11 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
partition_parameter_kw=sequence.get('requested_parameter_dict', {}),
filter_kw=sequence.get('requested_filter_dict', {}),
state=sequence.get('requested_state'))
try:
requested_slap_computer_partition.getId()
except slap.ResourceNotReady:
pass
else:
sequence.edit(
requested_slap_computer_partition=requested_slap_computer_partition,
requested_computer_partition_reference=\
......@@ -2024,6 +2029,11 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
# tic as request is done on slap level library
self.stepTic()
try:
requested_slap_computer_partition.getId()
except slap.ResourceNotReady:
pass
else:
sequence.edit(
requested_slap_computer_partition=requested_slap_computer_partition,
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