Changeset 326:46fe057f2605 for pdw/tests/test_model.py
- Timestamp:
- 03/10/10 12:32:00 (6 months ago)
- Branch:
- default
- Files:
-
- 1 modified
-
pdw/tests/test_model.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
pdw/tests/test_model.py
r325 r326 58 58 out = work.to_dict() 59 59 assert out['title'] == work.title 60 assert out['persons'] == work.persons60 assert len(out['persons']) == len(work.persons) 61 61 assert out['date'] == '1704', out 62 62 # test it serializes ok … … 81 81 'title': newtitle, 82 82 'date': u'1881', 83 'type': u'text', 83 84 'persons': [ 84 85 { 'name': name1, 'death_date': u'1887' },
