Commit d1530fcd authored by Vincent Pelletier's avatar Vincent Pelletier

Replace assert with intended ones, do not just disable them.


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1036 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 7e103f2a
...@@ -69,8 +69,8 @@ class NeoCTL(object): ...@@ -69,8 +69,8 @@ class NeoCTL(object):
""" """
packet = protocol.setClusterState(state) packet = protocol.setClusterState(state)
response = self.__ask(packet) response = self.__ask(packet)
#assert response[0] == protocol.ANSWER_CLUSTER_STATE assert response[0] == protocol.ERROR
#assert state == response[1] assert response[1] == protocol.NO_ERROR_CODE
def setNodeState(self, node, state, update_partition_table=False): def setNodeState(self, node, state, update_partition_table=False):
""" """
......
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