mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
Tests: Error result in non-zero exit code
This commit is contained in:
parent
a645a3cb6d
commit
6dca686763
1 changed files with 2 additions and 2 deletions
|
@ -58,8 +58,8 @@ class TestClock(TestCase):
|
|||
|
||||
def test_stop_nothing(self):
|
||||
"""Verify that stopping an unstarted interval does nothing"""
|
||||
code, out, err = self.t("stop")
|
||||
self.assertIn("There is no active time tracking.", out)
|
||||
code, out, err = self.t.runError("stop")
|
||||
self.assertIn("There is no active time tracking.", err)
|
||||
|
||||
def test_start_new(self):
|
||||
"""Verify that 'start' creates an open interval"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue