From: Tomas Babej Date: Sat, 26 Dec 2015 15:11:16 +0000 (+0100) Subject: tests: Add a tests for loading of the configuration X-Git-Url: https://git.madduck.net/etc/taskwarrior.git/commitdiff_plain/36ba7bc35a3e66168077f11fd1b0cd3b85fa7ab9 tests: Add a tests for loading of the configuration --- 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"