summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLV-426 <lv-426@taproot.org.il>2015-01-05 18:12:32 +0200
committerLV-426 <lv-426@taproot.org.il>2015-01-05 18:12:32 +0200
commit0d63c775a8b3d7750cc4adc606582da283fc72f6 (patch)
treeb2c64720cac3065270e7ccde1a3f9925ccfe337b /src
parentedb50121647be7d877389284594a9f49fb13b230 (diff)
follow string ID type convention
Diffstat (limited to 'src')
-rw-r--r--src/server-tests/neo4j_test_util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server-tests/neo4j_test_util.py b/src/server-tests/neo4j_test_util.py
index 6f49f17e..cf07f10f 100644
--- a/src/server-tests/neo4j_test_util.py
+++ b/src/server-tests/neo4j_test_util.py
@@ -22,7 +22,7 @@ class DBO_random_data_generation(DB_op):
q_arr = ['with 0 as _', # TODO clean: foreach triggers SyntaxException: otherwise
'foreach (rid in range(0,%d)' % (lim_n - 1),
'|',
- 'create (:%s {id: rid, n_attr_0:toInt(%d * rand())}))' % (self.n_label, lim_n)
+ 'create (:%s {id: \'test-id_\' + toString(rid), n_attr_0:toInt(%d * rand())}))' % (self.n_label, lim_n)
]
q = ' '.join(q_arr)