Tests the cocopp module.
On a shell:
python -m cocopp.test doctest
runs the doctests (which is quick) and:
python -m cocopp.test all
runs also the most extensive tests.
| Class | |
with InfolderGoneWithTheWind(): ... executes the block in a |
| Function | copy |
Undocumented |
| Function | data |
Undocumented |
| Function | delete |
Undocumented |
| Function | depreciated |
CAVEAT: this won't work anymore as the get_first method changed to get_one |
| Function | depreciated |
Undocumented |
| Function | do |
Undocumented |
| Function | do |
read in a pickled data set and compare to data read from the original data. |
| Function | join |
Undocumented |
| Function | main |
these tests are executed when python cocopp is called. |
| Function | process |
Undocumented |
| Function | retrieve |
depreciated (replaced by cocopp._data_archive COCODataArchive instance replaced by cocopp.archiving.get or cocopp.archiving.official_archives or cocopp.archives.all) |
| Function | run |
Undocumented |
| Function | tmp |
Undocumented |
| Variable | test |
Undocumented |
CAVEAT: this won't work anymore as the get_first method changed to get_one
return first matching data paths for each element of substrs
concatenated in a string.
Specifically:
return ' ' + ' '.join(cocopp._data_archive.get_first(substrs))
Implemented via subprocess to prevent the need to import cocopp in
this file here (prevent the script vs module absolute import issue).
read in a pickled data set and compare to data read from the original data.
Assumes that the pickled data already exist at the usually expected place side by side the original data.
these tests are executed when python cocopp is called.
with wine as second argument C:\Python26\python.exe instead of python is called
depreciated (replaced by cocopp._data_archive COCODataArchive instance
replaced by cocopp.archiving.get or cocopp.archiving.official_archives or cocopp.archives.all)