view python/tests/storage.txt @ 410:91954c76d12c

minor changes to error messages when loading libraries
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Wed, 14 Aug 2013 14:23:50 -0400
parents dc1faa7287bd
children bce1fe45d1b2
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
DB Error: no such table: velocities
[]