view python/tests/storage.txt @ 255:13ec22bec5d4

corrected typos and bugs and added a test
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Mon, 23 Jul 2012 23:07:19 -0400
parents 5e2983b05d4e
children dc1faa7287bd
line wrap: on
line source

>>> from storage import *

>>> loadPrototypeMatchIndexesFromSqlite("nonexistent")
DB Error: no such table: prototypes
[]
>>> loadTrajectoriesFromSqlite("nonexistent", 'feature')
DB Error: no such table: positions
[]