mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Handle 'until' and 'recur' simiar to handling of 'gc' (#3753)
This centralizes updates to recurrence and 'until' in Command, instead of doing so in each individual command implementation. This is preparatory to opening the TaskChampion replica in read-only mode.
This commit is contained in:
parent
1c9dddcae7
commit
aeeec16984
56 changed files with 87 additions and 39 deletions
|
@ -44,7 +44,7 @@ class TestCommands(TestCase):
|
|||
code, out, err = self.t("commands")
|
||||
self.assertRegex(out, r"add\s+operation\s+RW\s+Ctxt\s+Mods\s+Adds a new task")
|
||||
self.assertRegex(
|
||||
out, r"list\s+report\s+RO\s+ID\s+GC\s+Ctxt\s+Filt\s+Most details of"
|
||||
out, r"list\s+report\s+RO\s+ID\s+GC\s+Recur\s+Ctxt\s+Filt\s+Most details of"
|
||||
)
|
||||
self.assertRegex(out, r"modify\s+operation\s+RW\s+Filt\s+Mods\s+Modifies the")
|
||||
|
||||
|
@ -53,7 +53,7 @@ class TestCommands(TestCase):
|
|||
code, out, err = self.t("commands rc._forcecolor:on")
|
||||
self.assertRegex(out, r"add\s+operation\s+RW\s+Ctxt\s+Mods\s+Adds a new task")
|
||||
self.assertRegex(
|
||||
out, r"list\s+report\s+RO\s+ID\s+GC\s+Ctxt\s+Filt\s+Most details of"
|
||||
out, r"list\s+report\s+RO\s+ID\s+GC\s+Recur\s+Ctxt\s+Filt\s+Most details of"
|
||||
)
|
||||
self.assertRegex(out, r"modify\s+operation\s+RW\s+Filt\s+Mods\s+Modifies the")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue