mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00

* Still needs work to make sure output is displayed after the test status (not ok ...) and not before.
15 lines
327 B
Python
15 lines
327 B
Python
# -*- coding: utf-8 -*-
|
|
|
|
import unittest
|
|
import sys
|
|
|
|
|
|
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("# --- diag end ---\n")
|
|
|
|
|
|
# vim: ai sts=4 et sw=4
|