From 3478d1f03b2d05d09e337dd426a9107b2147021a Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sat, 1 Aug 2015 10:52:30 -0400 Subject: [PATCH] Test: Removed date-sensitive test - Removed test that assumes 'due:yesterday' matches '+MONTH', which of course is not true for the 1st of the month. --- test/tag.t | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/test/tag.t b/test/tag.t index f15d16d02..4e52f93f4 100755 --- a/test/tag.t +++ b/test/tag.t @@ -281,19 +281,17 @@ class TestVirtualTags(TestCase): self.assertNotIn("completed", out) self.assertNotIn("deleted", out) self.assertNotIn("minimal", out) - self.assertIn("maximal", out) self.assertNotIn("blocked", out) self.assertIn("due_eom", out) - # Ignore due_eow, which may be a different month. + # Ignore maximal, due_eow, which may be a different month. code, out, err = self.t("-MONTH all") self.assertIn("completed", out) self.assertIn("deleted", out) self.assertIn("minimal", out) - self.assertNotIn("maximal", out) self.assertIn("blocked", out) self.assertNotIn("due_eom", out) - # Ignore due_eow, which may be a different month. + # Ignore maximal, due_eow, which may be a different month. def test_virtual_tag_WEEK(self): """Verify 'WEEK' appears when expected"""