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
|
@ -29,6 +29,7 @@ import sys
|
|||
import os
|
||||
import re
|
||||
import unittest
|
||||
|
||||
# Ensure python finds the local simpletap module
|
||||
sys.path.append(os.path.dirname(os.path.abspath(__file__)))
|
||||
|
||||
|
@ -67,11 +68,14 @@ class TestFeature559(TestCase):
|
|||
code, out, err = self.t.runError("rc.data.location=locationdoesnotexist list")
|
||||
self.assertNotIn("footask", out)
|
||||
self.assertNotIn("Error", out)
|
||||
self.assertRegex(err, re.compile("Could not.+unable to open database file", re.DOTALL))
|
||||
self.assertRegex(
|
||||
err, re.compile("Could not.+unable to open database file", re.DOTALL)
|
||||
)
|
||||
|
||||
|
||||
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