From b6ce51e83df30159a28572c610ac3e0211556420 Mon Sep 17 00:00:00 2001 From: Tomas Babej Date: Sun, 8 Aug 2021 09:50:47 -0400 Subject: [PATCH] tests: Reverse expectations for wait attribute removal uponn done/delete The wait attribute is no longer expected to be removed by the done/delete commands. --- test/wait.t | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/test/wait.t b/test/wait.t index 748dac78c..484dc67dd 100755 --- a/test/wait.t +++ b/test/wait.t @@ -98,30 +98,30 @@ class Test1486(TestCase): self.assertNotIn('regular', out) -class TestFeature2322(TestCase): +class TestFeature2563(TestCase): def setUp(self): """Executed before each test in the class""" self.t = Task() def test_done_unwait(self): - """2322: Done should remove the wait attribute""" + """2563: Done should NOT remove the wait attribute""" self.t("add foo wait:tomorrow") code, out, err = self.t("export") self.assertIn('"wait":', out) self.t("1 done") code, out, err = self.t("export") - self.assertNotIn('"wait":', out) + self.assertIn('"wait":', out) def test_delete_unwait(self): - """2322: Delete should remove the wait attribute""" + """2563: Delete should NOT remove the wait attribute""" self.t("add bar wait:tomorrow") code, out, err = self.t("export") self.assertIn('"wait":', out) self.t("1 delete", input="y\n") code, out, err = self.t("export") - self.assertNotIn('"wait":', out) + self.assertIn('"wait":', out) if __name__ == "__main__":