Fix tests.

This commit is contained in:
grossmj committed 2018-03-24 18:25:09 +07:00
1 parent e52775fa3a
commit 5d704aa478
2 files changed
+7 -7

No files matched your search

+3 -3
View File
@@ -375,13 +375,13 @@ class Node:
setattr(self, prop, kwargs[prop])
self._list_ports()
# We send notif only if object has changed
#if old_json != self.__json__():
# self.project.controller.notification.emit("node.updated", self.__json__())
if update_compute:
data = self._node_data(properties=compute_properties)
response = yield from self.put(None, data=data)
yield from self.parse_node_response(response.json)
elif old_json != self.__json__():
# We send notif only if object has changed
self.project.controller.notification.emit("node.updated", self.__json__())
self.project.dump()
@asyncio.coroutine