Commit 670b274d authored by Romain Courteaud's avatar Romain Courteaud

Add one more assertion to prevent generating garbage

parent 2038fa61
...@@ -151,6 +151,8 @@ else:\n ...@@ -151,6 +151,8 @@ else:\n
predecessor.edit(predecessor_uid_list=predecessor_uid_list)\n predecessor.edit(predecessor_uid_list=predecessor_uid_list)\n
graph[predecessor.getUid()] = predecessor_uid_list\n graph[predecessor.getUid()] = predecessor_uid_list\n
\n \n
assert request_software_instance.getSlapState() in ["start_requested", "stop_requested"]\n
\n
# Change desired state\n # Change desired state\n
promise_kw = {\n promise_kw = {\n
\'instance_xml\': instance_xml,\n \'instance_xml\': instance_xml,\n
......
16 17
\ No newline at end of file \ No newline at end of file
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