mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
Tests: Made test less fragile
This commit is contained in:
parent
ea5f2cd944
commit
9cb4d26062
1 changed files with 3 additions and 3 deletions
|
@ -57,11 +57,11 @@ class TestIds(TestCase):
|
|||
self.t = Timew()
|
||||
|
||||
def test_ids_in_output(self):
|
||||
self.t("start a")
|
||||
self.t("start a 10s ago")
|
||||
self.t("start b")
|
||||
code, out, err = self.t("summary :week :ids")
|
||||
self.assertIn('@1', out)
|
||||
self.assertIn('@2', out)
|
||||
self.assertIn(' @1 ', out)
|
||||
self.assertIn(' @2 ', out)
|
||||
|
||||
if __name__ == "__main__":
|
||||
from simpletap import TAPTestRunner
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue