summaryrefslogtreecommitdiffstats
path: root/tests/file_test.py
Commit message (Collapse)AuthorAgeFilesLines
* combox/file.py: defined hash_file function.Siddharth Ravikumar2015-01-211-1/+13
| | | | | | hash_file function returns the SHA512 hash of the file's content. The test for the hash_file function is at tests/file_test.py
* updated copright year.Siddharth Ravikumar2015-01-201-1/+1
| | | | | | | | | | | | modified: combox/cbox.py modified: combox/config.py modified: combox/crypto.py modified: combox/events.py modified: combox/file.py modified: tests/config_test.py modified: tests/crypto_test.py modified: tests/events_test.py modified: tests/file_test.py
* tests/file_test.py: uses get_nodedirs function to fetch list of node ↵Siddharth Ravikumar2015-01-131-1/+2
| | | | directories.
* rewrote the read_shards() and write_shards() function in combox/file.py.Siddharth Ravikumar2015-01-131-12/+23
| | | | | | | | | Tests were accordingly modded and now use the test config.yaml to split and write shards to dirs. modified: combox/file.py modified: tests/crypto_test.py modified: tests/file_test.py
* Added `nose' for combox/config.py, combox/crypto.py, combox/file.pySiddharth Ravikumar2015-01-121-0/+72
new file: tests/config_test.py new file: tests/crypto_test.py new file: tests/file_test.py