summaryrefslogtreecommitdiffstats
path: root/tests/crypto_test.py
Commit message (Collapse)AuthorAgeFilesLines
* All the test classes now call rm_configdir() in their teardown method.Siddharth Ravikumar2015-02-181-1/+2
| | | | | | | | modified: tests/config_test.py modified: tests/crypto_test.py modified: tests/events_test.py modified: tests/file_test.py modified: tests/silo_test.py
* All the tests now remove the node directories (tests/shard-dir-0 & ↵Siddharth Ravikumar2015-02-131-1/+2
| | | | | | | | | | | | | tests/shard-dir-1) in the teardown method. modified: tests/config_test.py modified: tests/crypto_test.py modified: tests/events_test.py modified: tests/file_test.py modified: tests/silo_test.py deleted: tests/shard-dir-0/.foo deleted: tests/shard-dir-1/.foo
* tests/crypto_test.py & tests/file_test.py - corrected typos in doctstrings.Siddharth Ravikumar2015-02-131-1/+1
|
* tests/crypto_test.py: re-wrote it.Siddharth Ravikumar2015-02-121-56/+68
| | | | Now the test is in a Test class with proper setup and teardown methods.
* 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/crypto_test.py: added new test function to test split_and_encrypt and ↵Siddharth Ravikumar2015-01-131-0/+21
| | | | decrypt_and_glue functions.
* tests/crypto_test.py: uses new test file.Siddharth Ravikumar2015-01-131-1/+1
|
* tests/crypto_test.py: uses get_nodedirs function to fetch list of node ↵Siddharth Ravikumar2015-01-131-3/+5
| | | | directories.
* updated tests/crypto_test.py: password read from config file.Siddharth Ravikumar2015-01-131-9/+6
|
* rewrote the read_shards() and write_shards() function in combox/file.py.Siddharth Ravikumar2015-01-131-10/+20
| | | | | | | | | 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/+79
new file: tests/config_test.py new file: tests/crypto_test.py new file: tests/file_test.py