Unittest - Bring back diag() for generating TAP output

* Still needs work to make sure output is displayed after the test
status (not ok ...) and not before.
This commit is contained in:
Renato Alves 2014-07-14 11:37:35 +01:00
parent 75fe62149d
commit d354d13263
10 changed files with 32 additions and 16 deletions

View file

@ -8,10 +8,10 @@ from datetime import datetime
# Ensure python finds the local simpletap module
sys.path.append(os.path.dirname(os.path.abspath(__file__)))
from basetest import Task, Taskd
from basetest import Task, Taskd, TestCase
class TestCase(unittest.TestCase):
class TestBugNumber(TestCase):
@classmethod
def setUpClass(cls):
"""Executed once before any test in the class"""