From 4c987c3410ccb302803807460cfacbd66f0724fc Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Fri, 15 Apr 2016 17:20:44 -0400 Subject: [PATCH] Tests: Account for non-zero exit --- test/quiet.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/quiet.t b/test/quiet.t index a46aae21..c0c78dcd 100755 --- a/test/quiet.t +++ b/test/quiet.t @@ -58,10 +58,10 @@ class TestQuietMode(TestCase): def test_default(self): """Default command should obey :quiet hint""" - code, out, err = self.t("") + code, out, err = self.t.runError("") self.assertIn('There is no active time tracking.', out) - code, out, err = self.t(":quiet") + code, out, err = self.t.runError(":quiet") self.assertNotIn('There is no active time tracking.', out) def test_stop(self):