| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
| |
Now the test is in a Test class with proper setup and teardown methods.
The teardown method has been purposely not fleshed out. It will be
fleshed out after all the test modules have been re-written.
|
|
|
|
| |
modules.
|
|
|
|
| |
This, I guess, completes the tests for the new housekeep method in the ComboxDirMonitor class.
|
|
|
|
|
|
|
| |
ComboxDirMonitor class.
The test for this method at tests/events_test.py only tests a part of
it.
|
| |
|
|
|
|
|
|
|
| |
their info is kept track in simple db file (using PickleDB).
also updated tests/events_test.py to test if the newly added code to
that updates the db works properly.
|
| |
|
|
|
|
|
|
|
| |
- Contains the ComboxSilo class which provides an interface to access
the db that stores information about files in the combox directory.
Tests for this module is at tests/silo_test.py
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
modified: combox/events.py
modified: tests/events_test.py
|
|
|
|
|
|
|
|
| |
the combox.
modified: combox/config.py
modified: tests/config_test.py
modified: tests/test-config/config.yaml
|
|
|
|
|
|
|
|
|
| |
silo directory is the location where the silo (silo.db) containing
information about files in the combox directory is stored.
modified: combox/config.py
modified: tests/config_test.py
modified: tests/test-config/config.yaml
|
|
|
|
|
|
|
|
|
| |
tests for it.
modified: combox/events.py
modified: tests/events_test.py
new file: tests/files/ipsum.txt
new file: tests/files/lorem.txt
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
directory.
|
|
|
|
| |
directory.
|
|
|
|
| |
directory properly are split properly to node dirs.
|
| |
|
| |
|
|
|
|
| |
decrypt_and_glue functions.
|
| |
|
|
|
|
| |
directories.
|
|
|
|
| |
directories.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
These *will* be used in the tests.
new file: tests/shard-dir-0/.foo
new file: tests/shard-dir-1/.foo
new file: tests/test-config/config.yaml
|
|
|
|
|
|
| |
new file: tests/config_test.py
new file: tests/crypto_test.py
new file: tests/file_test.py
|
|
|
|
|
|
|
| |
deleted: tests/combox_tests.py
deleted: tests/test_config.py
deleted: tests/test_crypto.py
deleted: tests/test_file.py
|
|
|
|
|
|
|
| |
new file: tests/files/the-red-star.jpg
new file: tests/test_config.py
new file: tests/test_crypto.py
new file: tests/test_file.py
|
|
|
|
|
|
|
|
|
|
|
|
| |
tests were removed. will write tests using `nose` later.
renamed: combox/file.py -> combox/combox.py
deleted: combox/config.py
deleted: combox/crypto.py
renamed: tests/test_config.py -> tests/combox_tests.py
deleted: tests/files/the-red-star.jpg
deleted: tests/test_crypto.py
deleted: tests/test_file.py
|
|
renamed: combox/tests/__init__.py -> tests/__init__.py
renamed: combox/tests/files/the-red-star.jpg -> tests/files/the-red-star.jpg
renamed: combox/tests/test_config.py -> tests/test_config.py
renamed: combox/tests/test_crypto.py -> tests/test_crypto.py
renamed: combox/tests/test_file.py -> tests/test_file.py
|