Mercurial Hosting > traffic-intelligence
comparison 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 |
comparison
equal
deleted
inserted
replaced
214:9c7fc6899c0e | 215:5e2983b05d4e |
---|---|
1 >>> from storage import * | |
2 | |
3 >>> loadPrototypeMatchIndexesFromSqlite("nonexistent") | |
4 DB Error: no such table: prototypes | |
5 [] | |
6 >>> loadTrajectoriesFromSqlite("nonexistent", 'feature') | |
7 DB Error: no such table: positions | |
8 [] |