From b8f803c83fb26100708af74ea966bd108d66da31 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sat, 4 Jul 2015 17:03:49 -0400 Subject: [PATCH] Test: Corrected broken tests --- test/partial.t | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/test/partial.t b/test/partial.t index 61ad77cbd..6f9257818 100755 --- a/test/partial.t +++ b/test/partial.t @@ -42,23 +42,14 @@ class TestPartialMatch(TestCase): def test_partial_date_match_spaced(self): """Partial match for dates: today = now --> true""" - code, out, err = self.t(('calc', 'today = now')) + code, out, err = self.t('calc today = now') self.assertIn('true', out) def test_exact_date_match_spaced(self): """Exact match for dates: today == now --> false""" - code, out, err = self.t(('calc', 'today == now')) + code, out, err = self.t('calc today == now') self.assertIn('false', out) - def test_partial_date_match(self): - """Partial match for dates: today=now --> true""" - code, out, err = self.t(('calc', 'today=now')) - self.assertIn('true', out) - - def test_exact_date_match(self): - """Exact match for dates: today==now --> false""" - code, out, err = self.t(('calc', 'today==now')) - self.assertIn('false', out) if __name__ == "__main__": from simpletap import TAPTestRunner