mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
tests: Use updated unittest method
This commit is contained in:
parent
407d66d681
commit
02db131fa1
50 changed files with 315 additions and 315 deletions
|
@ -48,8 +48,8 @@ class TestDiagnostics(TestCase):
|
|||
self.t.activate_hooks()
|
||||
code, out, err = self.t.diag()
|
||||
self.tap(out)
|
||||
self.assertRegexpMatches(out, "Compliance:\s+C\+\+14")
|
||||
self.assertRegexpMatches(out, "libgnutls:\s+\d+\.\d+\.\d+")
|
||||
self.assertRegex(out, "Compliance:\s+C\+\+14")
|
||||
self.assertRegex(out, "libgnutls:\s+\d+\.\d+\.\d+")
|
||||
self.assertIn("edlin", out)
|
||||
self.assertIn("strict", out)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue