summaryrefslogtreecommitdiffstats
path: root/tests/config_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/config_test.py')
-rw-r--r--tests/config_test.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/config_test.py b/tests/config_test.py
index e76cede..f69f4e6 100644
--- a/tests/config_test.py
+++ b/tests/config_test.py
@@ -22,7 +22,7 @@ from nose.tools import *
from os import path, remove, rmdir
from combox.config import (config_cb, get_secret, get_stdin)
-from tests.utils import get_input_func
+from tests.utils import get_input_func, rm_nodedirs, get_config
class TestConfig(object):
@@ -36,6 +36,7 @@ class TestConfig(object):
self.CONFIG_DIR = path.join('tests', 'test-config')
self.config_file = path.join(self.CONFIG_DIR, 'config.yaml')
+
def test_config(self):
"Tests the combox's config function."
@@ -57,3 +58,4 @@ class TestConfig(object):
def teardown_class(self):
"""Tear everything down."""
remove(self.config_file)
+ rm_nodedirs(get_config())