mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
Tests: Corrected time in test
This commit is contained in:
parent
3d588dc07c
commit
2c23344b57
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ class TestMove(TestCase):
|
|||
"""Move an open interval backwards to specific time."""
|
||||
self.t("start 5mins ago foo")
|
||||
code, out, err = self.t("move @1 12:01am")
|
||||
self.assertRegexpMatches(out, 'Moved @1 to \d\d\d\d-\d\d-\d\dT00:00:00')
|
||||
self.assertRegexpMatches(out, 'Moved @1 to \d\d\d\d-\d\d-\d\dT00:01:00')
|
||||
|
||||
j = self.t.export()
|
||||
self.assertEqual(len(j), 1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue