mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
add initial bulk run from pre-commit over all files
This commit is contained in:
parent
665aeeef61
commit
93356b39c3
418 changed files with 21354 additions and 23858 deletions
|
@ -28,6 +28,7 @@
|
|||
import sys
|
||||
import os
|
||||
import unittest
|
||||
|
||||
# Ensure python finds the local simpletap module
|
||||
sys.path.append(os.path.dirname(os.path.abspath(__file__)))
|
||||
|
||||
|
@ -48,7 +49,7 @@ class TestBug20(TestCase):
|
|||
self.t.env["VISUAL"] = self.editor
|
||||
|
||||
def test_annotate_edit_does_not_delete(self):
|
||||
""" edit annotation should not delete then add untouched annotations """
|
||||
"""edit annotation should not delete then add untouched annotations"""
|
||||
self.t("add tw-20")
|
||||
|
||||
self.t("1 annotate 1st annotation")
|
||||
|
@ -62,8 +63,8 @@ class TestBug20(TestCase):
|
|||
code, _timestamp1b, err = self.t("_get 1.annotations.1.entry")
|
||||
code, _timestamp2b, err = self.t("_get 1.annotations.2.entry")
|
||||
|
||||
self.assertEqual( _timestamp1a, _timestamp1b )
|
||||
self.assertEqual( _timestamp2a, _timestamp2b )
|
||||
self.assertEqual(_timestamp1a, _timestamp1b)
|
||||
self.assertEqual(_timestamp2a, _timestamp2b)
|
||||
|
||||
code, out, err = self.t("info")
|
||||
|
||||
|
@ -73,6 +74,7 @@ class TestBug20(TestCase):
|
|||
|
||||
if __name__ == "__main__":
|
||||
from simpletap import TAPTestRunner
|
||||
|
||||
unittest.main(testRunner=TAPTestRunner())
|
||||
|
||||
# vim: ai sts=4 et sw=4 ft=python
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue