Breaking change for 2.X topologies! Store width and height for nodes & a

style properties
This commit is contained in:
Julien Duponchelle committed 2016-07-01 14:38:42 +02:00
1 parent fe7bcae6a1
commit 818174824b
4 files changed
+55 -24

No files matched your search

+4 -2
View File
@@ -67,6 +67,8 @@ def test_json(node, compute):
"x": node.x,
"y": node.y,
"z": node.z,
"width": node.width,
"height": node.height,
"symbol": node.symbol,
"label": node.label
}
@@ -81,6 +83,8 @@ def test_json(node, compute):
"x": node.x,
"y": node.y,
"z": node.z,
"width": node.width,
"height": node.height,
"symbol": node.symbol,
"label": node.label
}
@@ -186,7 +190,6 @@ def test_update_properties(node, compute, project, async_run, controller):
controller._notification.emit.assert_called_with("node.updated", node_notif)
def test_update_only_controller(node, controller, compute, project, async_run):
"""
When updating property used only on controller we don't need to
@@ -206,7 +209,6 @@ def test_update_only_controller(node, controller, compute, project, async_run):
assert not controller._notification.emit.called
def test_update_no_changes(node, compute, project, async_run):
"""
We don't call the compute node if all compute properties has not changed