mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Unittest - Example of TAP diag use in template.t
* Also prettify its output with the amazing whitespace
This commit is contained in:
parent
e3d0d2ff34
commit
ea5186716e
2 changed files with 4 additions and 1 deletions
|
@ -34,6 +34,9 @@ class TestBugNumber(TestCase):
|
|||
expected = "Copyright \(C\) \d{4} - %d" % (datetime.now().year,)
|
||||
self.assertRegexpMatches(out.decode("utf8"), expected)
|
||||
|
||||
# TAP diagnostics on the bas
|
||||
self.diag("Yay TAP diagnostics")
|
||||
|
||||
def test_fail_other(self):
|
||||
"""Nothing to do with Copyright"""
|
||||
self.assertEqual("I like to code", "I like\nto code\n")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue