]> git.madduck.net Git - etc/taskwarrior.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

tests: Add a tests for loading of the configuration
authorTomas Babej <tomasbabej@gmail.com>
Sat, 26 Dec 2015 15:11:16 +0000 (16:11 +0100)
committerTomas Babej <tomasbabej@gmail.com>
Sat, 26 Dec 2015 15:11:16 +0000 (16:11 +0100)
tasklib/tests.py

index 53bc625068bea3de51d1c534d092f5053c491778..152ad46a9da2c7f12cc081cbd411ba54bf034f8b 100644 (file)
@@ -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"