summaryrefslogtreecommitdiffstats
path: root/tests/events_test.py
diff options
context:
space:
mode:
authorSiddharth Ravikumar <sravik@bgsu.edu>2015-01-21 10:02:17 -0500
committerSiddharth Ravikumar <sravik@bgsu.edu>2015-01-21 10:02:17 -0500
commita41fc635967f3fbdcdd9acaa6268323e7accb1a5 (patch)
tree476395d73b29be8e19f07e371836a5094436473d /tests/events_test.py
parent4c11dad2be14dea97b449cfe48643942b1fff619 (diff)
Renamed ComboxEventHandler (class) -> ComboxDirMonitor
modified: combox/events.py modified: tests/events_test.py
Diffstat (limited to 'tests/events_test.py')
-rw-r--r--tests/events_test.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/events_test.py b/tests/events_test.py
index c53ce1d..26a846d 100644
--- a/tests/events_test.py
+++ b/tests/events_test.py
@@ -27,7 +27,7 @@ from os import path, remove
from shutil import copyfile
from watchdog.observers import Observer
-from combox.events import ComboxEventHandler
+from combox.events import ComboxDirMonitor
from combox.config import get_nodedirs
from combox.crypto import decrypt_and_glue
from combox.file import (relative_path, purge_dir,
@@ -121,10 +121,10 @@ def path_deletedp(p, is_dir=False):
def test_CEH():
"""
- Tests the ComboxEventHandler class.
+ Tests the ComboxDirMonitor class.
"""
- event_handler = ComboxEventHandler(config)
+ event_handler = ComboxDirMonitor(config)
observer = Observer()
observer.schedule(event_handler, FILES_DIR, recursive=True)
observer.start()
@@ -132,7 +132,7 @@ def test_CEH():
# Test - new file addition
TEST_FILE_COPY_0 = "%s.mutant" % TEST_FILE
copyfile(TEST_FILE, TEST_FILE_COPY_0)
- ## wait for ComboxEventHandler to split and scatter the file in the
+ ## wait for ComboxDirMonitor to split and scatter the file in the
## node directories.
time.sleep(1)
## check if the shards were created.