| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
directory.
It returns the path of the respective file or directory in the combox directory.
Also updated the test for this function at tests.file_test.TestFile.test_cbpath
modified: combox/file.py
modified: tests/file_test.py
|
|
|
|
|
|
|
|
|
|
| |
This function, given the path of a file shard, returns the
corresponding path of the file in the combox directory.
The test for this function is at tests.file_test.TestFile.test_cbpath
modified: combox/file.py
modified: tests/file_test.py
|
|
|
|
| |
construct pathnames.
|
|
|
|
|
|
|
|
|
|
| |
Now the function is rigged up to return path relative to both combox
directory and node directory.
Corresponding test for this function is at tests.file_test module.
modified: combox/file.py
modified: tests/file_test.py
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
Now the test is in a Test class with proper setup and teardown methods.
|
|
|
|
|
|
| |
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/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
|
|
|
|
| |
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
|
|
new file: tests/config_test.py
new file: tests/crypto_test.py
new file: tests/file_test.py
|