Mercurial > hg > nsaunier > traffic-intelligence
comparison python/tests/storage.txt @ 516:bce1fe45d1b2
corrected bugs detected by tests (because of moving functions around modules
| author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
|---|---|
| date | Fri, 06 Jun 2014 14:14:01 -0400 |
| parents | dc1faa7287bd |
| children | 36605d843be5 |
comparison
equal
deleted
inserted
replaced
| 515:727e3c529519 | 516:bce1fe45d1b2 |
|---|---|
| 1 >>> from storage import * | 1 >>> from storage import * |
| 2 | |
| 3 >>> f = openCheck('non_existant_file.txt') | |
| 4 File non_existant_file.txt could not be opened. | |
| 2 | 5 |
| 3 >>> loadPrototypeMatchIndexesFromSqlite("nonexistent") | 6 >>> loadPrototypeMatchIndexesFromSqlite("nonexistent") |
| 4 DB Error: no such table: prototypes | 7 DB Error: no such table: prototypes |
| 5 [] | 8 [] |
| 6 >>> loadTrajectoriesFromSqlite("nonexistent", 'feature') | 9 >>> loadTrajectoriesFromSqlite("nonexistent", 'feature') |
