Tests: Account for non-zero exit

This commit is contained in:
Paul Beckingham 2016-04-15 17:20:44 -04:00
parent eff59b6124
commit 4c987c3410

View file

@ -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):