Commit 4321503e authored by Romain Courteaud's avatar Romain Courteaud

Remove useless assert

Such check is already done by allowing (or not) some transitions on workflow state
parent 9d7641a6
...@@ -151,8 +151,6 @@ else:\n ...@@ -151,8 +151,6 @@ 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
......
18 19
\ 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