Merge branch '2.4.3' of ssh://git.tasktools.org/tm/task into 2.4.3

This commit is contained in:
Paul Beckingham
2015-03-28 08:28:56 -04:00
5 changed files with 24 additions and 4 deletions

View File

@@ -108,8 +108,10 @@ class TestExportCommand(TestCase):
def test_export_end(self):
self.t(('1', 'start'))
self.t.faketime("+5s")
self.t(('1', 'done'))
self.assertTimestamp(self.export(1)['end'])
# After a task is "done" or "deleted", it does not have an ID by which
# to filter it anymore. Add a tag to work around this.
self.t(('1', 'done', '+workaround'))
self.assertTimestamp(self.export('+workaround')['end'])
def test_export_due(self):
self.t(('1', 'modify', 'due:today'))