mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
Make display of ids and annotations the default in summary report for new users
Initialize a new 'timewarrior.cfg' file with the respective settings Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
This commit is contained in:
parent
191ad1ec8a
commit
1d3dd8f440
4 changed files with 82 additions and 72 deletions
|
@ -118,6 +118,9 @@ class TestUndo(TestCase):
|
|||
|
||||
def test_undo_config_add_name(self):
|
||||
"""Test undo of command 'config' (add name)"""
|
||||
self.t("config")
|
||||
initial = [x for x in self.t.timewrc_content if x != '\n']
|
||||
|
||||
self.t("config foo bar :yes")
|
||||
|
||||
before = [x for x in self.t.timewrc_content if x != '\n']
|
||||
|
@ -127,7 +130,7 @@ class TestUndo(TestCase):
|
|||
after = [x for x in self.t.timewrc_content if x != '\n']
|
||||
|
||||
self.assertNotEqual(before, after)
|
||||
self.assertEqual([], after)
|
||||
self.assertEqual(initial, after)
|
||||
|
||||
def test_undo_config_remove_name(self):
|
||||
"""Test undo of command 'config' (remove name)"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue