From 36ba7bc35a3e66168077f11fd1b0cd3b85fa7ab9 Mon Sep 17 00:00:00 2001 From: Tomas Babej Date: Sat, 26 Dec 2015 16:11:16 +0100 Subject: [PATCH 1/1] tests: Add a tests for loading of the configuration --- tasklib/tests.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tasklib/tests.py b/tasklib/tests.py index 53bc625..152ad46 100644 --- a/tasklib/tests.py +++ b/tasklib/tests.py @@ -1263,3 +1263,10 @@ class LazyUUIDTaskSetTest(TasklibTest): lazyset &= taskset assert lazyset == set([self.task2]) + + +class TaskWarriorBackendTest(TasklibTest): + + def test_config(self): + assert self.tw.config['nag'] == "You have more urgent tasks." + assert self.tw.config['sugar'] == "yes" -- 2.39.5