diff options
| author | LV-426 <lv-426@taproot.org.il> | 2014-10-05 20:55:19 +0200 |
|---|---|---|
| committer | LV-426 <lv-426@taproot.org.il> | 2014-10-05 20:55:19 +0200 |
| commit | 4c1e833bf2ae393b6f47bb9a363538119691230c (patch) | |
| tree | 67164dbcbc18f786218432ac3e6cad0775a39534 | |
| parent | 4cce2e3737a78ffca41ada15b3f0d38968b60900 (diff) | |
add int (non-string) node properties
| -rw-r--r-- | src-py/test_db_controller.py | 12 |
1 files changed, 7 insertions, 5 deletions
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 |
