From b46bf15f407a7f5338437c08fb0679d18b03ebaa Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sun, 5 Jul 2015 15:56:30 -0400 Subject: [PATCH] Test: Cleaned up test --- test/tw-1468.t | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/tw-1468.t b/test/tw-1468.t index fe40b5fac..6cb3ca74e 100755 --- a/test/tw-1468.t +++ b/test/tw-1468.t @@ -39,19 +39,19 @@ from basetest import Task, TestCase class Test1468(TestCase): def setUp(self): self.t = Task() - self.t(('add', 'project:home', 'buy milk')) - self.t(('add', 'project:home', 'mow the lawn')) + self.t('add project:home buy milk') + self.t('add project:home mow the lawn') def test_single_attribute_filter(self): """Single attribute filter (project:home)""" - code, out, err = self.t(('list', 'project:home')) + code, out, err = self.t('list project:home') self.assertEqual(0, code, "Exit code was non-zero ({0})".format(code)) self.assertIn('buy milk', out) self.assertIn('mow the lawn', out) def test_attribute_and_implicit_search_filter(self): """Attribute and implicit search filter (project:home lawn)""" - code, out, err = self.t(('list', 'project:home', 'lawn')) + code, out, err = self.t('list project:home lawn') self.assertEqual(0, code, "Exit code was non-zero ({0})".format(code)) self.assertNotIn('buy milk', out) self.assertIn('mow the lawn', out)