From 4c1e833bf2ae393b6f47bb9a363538119691230c Mon Sep 17 00:00:00 2001 From: LV-426 Date: Sun, 5 Oct 2014 20:55:19 +0200 Subject: add int (non-string) node properties --- src-py/test_db_controller.py | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'src-py') diff --git a/src-py/test_db_controller.py b/src-py/test_db_controller.py index 1a73cb49..83818ee3 100644 --- a/src-py/test_db_controller.py +++ b/src-py/test_db_controller.py @@ -10,11 +10,13 @@ class TestDBController(unittest.TestCase): db_ctl = None log = None - n_map = { 'Skill': [{'name': 'kung fu', 'id': 'skill_00' }, - {'name': 'judo', 'id': 'skill_01' } - ], - 'Person': [{'name': 'Bob', 'id': 'person_00' }, - {'name': 'Alice', 'id': 'person_01' }] + n_map = { 'Skill': [{'name': 'Kung Fu', 'id': 'skill_00' }, + {'name': 'Judo', 'id': 'skill_01' } + ], + + 'Person': [{'name': 'Bob', 'id': 'person_00', 'age': 128 }, + {'name': 'Alice', 'id': 'person_01', 'age': 256 } + ] } @classmethod -- cgit v1.3.1