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
|
@ -8,7 +8,7 @@ class TestCase(unittest.TestCase):
|
|||
def diag(self, out):
|
||||
sys.stdout.write("# --- diag start ---\n")
|
||||
for line in out.split("\n"):
|
||||
sys.stdout.write("#" + line + "\n")
|
||||
sys.stdout.write("# " + line + "\n")
|
||||
sys.stdout.write("# --- diag end ---\n")
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue