Commit 7120f866 authored by Jacek Sowiński's avatar Jacek Sowiński

Fix tests and config for list_format

parent 7fb19409
...@@ -195,7 +195,7 @@ class ListCommandTest(CommandTest): ...@@ -195,7 +195,7 @@ class ListCommandTest(CommandTest):
command.execute() command.execute()
self.assertFalse(self.todolist.is_dirty()) self.assertFalse(self.todolist.is_dirty())
self.assertEqual(self.output, "| 3| (C) Baz @Context1 +Project1 key:value id:1\n| 1| (C) Foo @Context2 Not@Context +Project1 Not+Project\n") self.assertEqual(self.output, "| 3| (C) Baz @Context1 +Project1 id:1 key:value\n| 1| (C) Foo @Context2 Not@Context +Project1 Not+Project\n")
self.assertEqual(self.errors, "") self.assertEqual(self.errors, "")
def test_list20(self): def test_list20(self):
......
...@@ -15,7 +15,7 @@ auto_creation_date = 1 ...@@ -15,7 +15,7 @@ auto_creation_date = 1
hide_tags = id,p,ical hide_tags = id,p,ical
indent = 0 indent = 0
list_limit = -1 list_limit = -1
list_format = |%I| %{(}p{)} %s list_format = |%I| %x %c %{(}p{)} %s %k
[tags] [tags]
tag_start = t tag_start = t
......
...@@ -69,7 +69,7 @@ class _Config: ...@@ -69,7 +69,7 @@ class _Config:
'hide_tags': 'id,p,ical', 'hide_tags': 'id,p,ical',
'indent': '0', 'indent': '0',
'list_limit': '-1', 'list_limit': '-1',
'list_format': '|%I| %c %{(}p{)} %s', 'list_format': '|%I| %x %c %{(}p{)} %s %k',
}, },
'tags': { 'tags': {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment