Mercurial Hosting > traffic-intelligence
diff python/tests/storage.txt @ 215:5e2983b05d4e
created first doctest tests for storage
author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
---|---|
date | Fri, 08 Jun 2012 18:44:27 -0400 |
parents | |
children | dc1faa7287bd |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python/tests/storage.txt Fri Jun 08 18:44:27 2012 -0400 @@ -0,0 +1,8 @@ +>>> from storage import * + +>>> loadPrototypeMatchIndexesFromSqlite("nonexistent") +DB Error: no such table: prototypes +[] +>>> loadTrajectoriesFromSqlite("nonexistent", 'feature') +DB Error: no such table: positions +[]