From 26fb4521fe87ecf8f67269025dd065cbce07c12f Mon Sep 17 00:00:00 2001 From: Tomas Babej Date: Thu, 28 Jan 2021 01:23:01 -0500 Subject: [PATCH] tests: Update commands.t to reflect new signature of CmdAdd The 'task add' command now accepts context. --- test/commands.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/commands.t b/test/commands.t index 4516f297d..c487c3783 100755 --- a/test/commands.t +++ b/test/commands.t @@ -42,14 +42,14 @@ class TestCommands(TestCase): def test_command_dna(self): """Verify 'add', 'modify', 'list' dna""" code, out, err = self.t("commands") - self.assertRegex(out, "add\s+operation\s+RW\s+Mods\s+Adds a new task") + self.assertRegex(out, "add\s+operation\s+RW\s+Ctxt\s+Mods\s+Adds a new task") self.assertRegex(out, "list\s+report\s+RO\s+ID\s+GC\s+Ctxt\s+Filt\s+Most details of") self.assertRegex(out, "modify\s+operation\s+RW\s+Filt\s+Mods\s+Modifies the") def test_command_dna_color(self): """Verify 'add', 'modify', 'list' dna""" code, out, err = self.t("commands rc._forcecolor:on") - self.assertRegex(out, "add\s+operation\s+RW\s+Mods\s+Adds a new task") + self.assertRegex(out, "add\s+operation\s+RW\s+Ctxt\s+Mods\s+Adds a new task") self.assertRegex(out, "list\s+report\s+RO\s+ID\s+GC\s+Ctxt\s+Filt\s+Most details of") self.assertRegex(out, "modify\s+operation\s+RW\s+Filt\s+Mods\s+Modifies the")