summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/events_test.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/events_test.py b/tests/events_test.py
index 26a846d..3eadc87 100644
--- a/tests/events_test.py
+++ b/tests/events_test.py
@@ -17,22 +17,24 @@
# <http://www.gnu.org/licenses/>.
import os
+import time
import yaml
from filecmp import cmp
from glob import glob
-import time
-from nose.tools import *
from os import path, remove
from shutil import copyfile
+
+from nose.tools import *
from watchdog.observers import Observer
-from combox.events import ComboxDirMonitor
from combox.config import get_nodedirs
from combox.crypto import decrypt_and_glue
+from combox.events import ComboxDirMonitor
from combox.file import (relative_path, purge_dir,
read_file, write_file)
+
CONFIG_DIR = path.join('tests', 'test-config')
config_file = path.join(CONFIG_DIR, 'config.yaml')