diff options
| author | LV-426 <lv-426@taproot.org.il> | 2015-01-11 18:28:48 +0200 |
|---|---|---|
| committer | LV-426 <lv-426@taproot.org.il> | 2015-01-11 18:30:43 +0200 |
| commit | d21da0282846a85b3da5cfce27b098268a007f6f (patch) | |
| tree | 95841e6b7760d70202e1a74381d35eb51fe0aa8f /src/server-tests | |
| parent | f0712cf58df21ccf2c3bfea22d735716a96a1e80 (diff) | |
test_rz_mesh(): use test_labels
Diffstat (limited to 'src/server-tests')
| -rw-r--r-- | src/server-tests/test_rz_mesh.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/server-tests/test_rz_mesh.py b/src/server-tests/test_rz_mesh.py index 11402004..57f816dd 100644 --- a/src/server-tests/test_rz_mesh.py +++ b/src/server-tests/test_rz_mesh.py @@ -57,8 +57,8 @@ class TestMeshAPI(unittest.TestCase): self._transport._connection.send_close() # FIXME: properly close socket, avoid c_1 socket wait - n = test_util.generate_random_node_dict('test_ws_event__topo_diff') - n_id = n['id'] + test_label = neo4j_test_util.rand_label() + n, n_id = test_util.generate_random_node_dict(test_label) topo_diff = Topo_Diff(node_set_add=[n]) def c_0(): @@ -93,8 +93,8 @@ class TestMeshAPI(unittest.TestCase): self._transport._connection.send_close() # FIXME: properly close socket, avoid c_1 socket wait - n = test_util.generate_random_node_dict('test_ws_event__topo_diff') - n_id = n['id'] + test_label = neo4j_test_util.rand_label() + n, n_id = test_util.generate_random_node_dict(test_label) topo_diff = Topo_Diff(node_set_add=[n]) def c_0(): @@ -126,8 +126,8 @@ class TestMeshAPI(unittest.TestCase): self._transport._connection.send_close() # FIXME: properly close socket, avoid c_1 socket wait - n = test_util.generate_random_node_dict('test_ws_event__attr_diff') - n_id = n['id'] + test_label = neo4j_test_util.rand_label() + n, n_id = test_util.generate_random_node_dict(test_label) # apply attr_diff attr_diff = Attr_Diff() |
