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

@ -33,10 +33,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
from basetest import Task, TestCase
class TestVersion(unittest.TestCase):
class TestVersion(TestCase):
def setUp(self):
self.t = Task()