summaryrefslogtreecommitdiff
path: root/test/test_config.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_config.py')
-rw-r--r--test/test_config.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test_config.py b/test/test_config.py
index 262efc72..0a1c80ce 100644
--- a/test/test_config.py
+++ b/test/test_config.py
@@ -10,6 +10,7 @@ import pytest
from poezio import config
+
@pytest.fixture(scope="module")
def config_obj():
file_ = tempfile.NamedTemporaryFile(delete=False)
@@ -18,6 +19,7 @@ def config_obj():
del conf
os.unlink(file_.name)
+
class TestConfigSimple(object):
def test_get_set(self, config_obj):
config_obj.set_and_save('test', value='coucou')