mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
fix pydoc, coding style, optimize imports
This commit is contained in:
parent
cdaf921e75
commit
81a7bba721
5 changed files with 25 additions and 31 deletions
|
@ -200,7 +200,7 @@ class TestMove(TestCase):
|
|||
|
||||
self.assertEqual(len(j), 2)
|
||||
self.assertTrue('start' in j[0])
|
||||
self.assertEqual(j[0]['start'], '{:%Y%m%dT%H}4000Z'.format(now_utc-timedelta(hours=5)), 'start time of lengthened interval does not match')
|
||||
self.assertEqual(j[0]['start'], '{:%Y%m%dT%H}4000Z'.format(now_utc - timedelta(hours=5)), 'start time of lengthened interval does not match')
|
||||
self.assertTrue('end' in j[0])
|
||||
self.assertEqual(j[0]['end'], '{:%Y%m%dT%H}5500Z'.format(now_utc - timedelta(hours=5)), 'end time of lengthened interval does not match')
|
||||
self.assertFalse('tags' in j[0])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue