Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fleshed out the on_move method in combox.events.NodeDirMonitor | Siddharth Ravikumar | 2015-03-18 | 1 | -2/+61 |
| | | | | | | | As usual, wrote correponding tests for it; zarking TDD or whatever :~| modified: combox/events.py modified: tests/events_test.py | ||||
* | tests/events_test.py: paths in `purge_list' is purged after executing each ↵ | Siddharth Ravikumar | 2015-03-18 | 1 | -7/+8 |
| | | | | test method. | ||||
* | Added `shardp' method to combox.events.NodeDirMonitor + test for it. | Siddharth Ravikumar | 2015-03-13 | 1 | -0/+10 |
| | | | | | modified: combox/events.py modified: tests/events_test.py | ||||
* | all the sleep calls are 1 sec long in tests.events_test | Siddharth Ravikumar | 2015-03-04 | 1 | -5/+5 |
| | |||||
* | fleshed out the on_delete method in combox.events.NodeDirMonitor | Siddharth Ravikumar | 2015-03-04 | 1 | -2/+15 |
| | | | | | | | As usual, wrote correponding tests for it :| modified: combox/events.py modified: tests/events_test.py | ||||
* | fleshed out the NodeDirMonitor's on_modified method + wrote tests for it. | Siddharth Ravikumar | 2015-02-26 | 1 | -0/+34 |
| | | | | | modified: combox/events.py modified: tests/events_test.py | ||||
* | New combox.events.NodeDirMonitor class defined. | Siddharth Ravikumar | 2015-02-20 | 1 | -6/+58 |
| | | | | | | | | | | At the moment only the on_created method of this class is kinda fleshed out. The tests for this class is at tests.events_test.TestEvents.test_NDM modified: combox/events.py modified: tests/events_test.py | ||||
* | modded tests/events_test.TestEvents.teardown method | Siddharth Ravikumar | 2015-02-20 | 1 | -1/+3 |
| | | | | This method now checks if the `silo.db' exists before deleting it. | ||||
* | combox/events.py: now the silo.db is purged after every test method in ↵ | Siddharth Ravikumar | 2015-02-19 | 1 | -7/+2 |
| | | | | EventsTest class. | ||||
* | tests/events_test.py: defined teardown method in TestEvents class. | Siddharth Ravikumar | 2015-02-19 | 1 | -1/+7 |
| | | | | | - The teardown method is invoked after the end of each test in the TestEvents class. - At the moment the teardown method just purges the node directories. | ||||
* | All the test classes now call rm_configdir() in their teardown method. | Siddharth Ravikumar | 2015-02-18 | 1 | -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 Ravikumar | 2015-02-13 | 1 | -1/+3 |
| | | | | | | | | | | | | | 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/events_test.py: now teardown purges the shards of TEST_FILE | Siddharth Ravikumar | 2015-02-13 | 1 | -0/+2 |
| | |||||
* | tests/events_test.py: corrected typo in docstring. | Siddharth Ravikumar | 2015-02-13 | 1 | -1/+1 |
| | |||||
* | tests/events_test.py: re-wrote it | Siddharth Ravikumar | 2015-02-12 | 1 | -237/+187 |
| | | | | | | | - Now the test is in a Test class with proper setup and teardown methods. - Utility functions were removed; these utility function were added to tests/utils.py module (see previous commit). | ||||
* | tests/events_test.py: wrote test for 'file modification' under test_housekeep() | Siddharth Ravikumar | 2015-01-28 | 1 | -0/+28 |
| | | | | This, I guess, completes the tests for the new housekeep method in the ComboxDirMonitor class. | ||||
* | combox/events.py - Wrote first version of housingkeep() method for ↵ | Siddharth Ravikumar | 2015-01-27 | 1 | -1/+23 |
| | | | | | | | ComboxDirMonitor class. The test for this method at tests/events_test.py only tests a part of it. | ||||
* | tests/events_test.py: renamed test_CEH() -> test_CDM() | Siddharth Ravikumar | 2015-01-27 | 1 | -1/+1 |
| | |||||
* | combox/events.py: now when files are -- created, moved, removed, modified -- ↵ | Siddharth Ravikumar | 2015-01-21 | 1 | -5/+27 |
| | | | | | | | 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. | ||||
* | tests/events_test.py: re-arranged the import statements. | Siddharth Ravikumar | 2015-01-21 | 1 | -3/+5 |
| | |||||
* | Renamed ComboxEventHandler (class) -> ComboxDirMonitor | Siddharth Ravikumar | 2015-01-21 | 1 | -4/+4 |
| | | | | | modified: combox/events.py modified: tests/events_test.py | ||||
* | fleshed out the on_modified function in the ComboxEventHandler class + wrote ↵ | Siddharth Ravikumar | 2015-01-20 | 1 | -1/+35 |
| | | | | | | | | | tests for it. modified: combox/events.py modified: tests/events_test.py new file: tests/files/ipsum.txt new file: tests/files/lorem.txt | ||||
* | tests/events_test.py: fixed the path_deletedp function. | Siddharth Ravikumar | 2015-01-20 | 1 | -5/+4 |
| | |||||
* | updated copright year. | Siddharth Ravikumar | 2015-01-20 | 1 | -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/events_test.py: wrote test for file/directory rename under combox ↵ | Siddharth Ravikumar | 2015-01-16 | 1 | -0/+37 |
| | | | | directory. | ||||
* | tests/events_test.py: wrote test for file/directory deletion in combox ↵ | Siddharth Ravikumar | 2015-01-15 | 1 | -4/+35 |
| | | | | directory. | ||||
* | tests/events_test.py: wrote code to test whether files created in a nested ↵ | Siddharth Ravikumar | 2015-01-15 | 1 | -5/+17 |
| | | | | directory properly are split properly to node dirs. | ||||
* | added tests/events_test.py: tests the ComboxEventHandler thing. | Siddharth Ravikumar | 2015-01-14 | 1 | -0/+103 |