From 3185cdf8d48ba093ee26bea70b856dec89f30ccd Mon Sep 17 00:00:00 2001 From: Fabio Erculiani Date: Mon, 13 Apr 2009 23:36:03 +0200 Subject: [PATCH] unit testing: print more output for each test run --- libraries/tests/db.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libraries/tests/db.py b/libraries/tests/db.py index e1420dd88..65575ab97 100644 --- a/libraries/tests/db.py +++ b/libraries/tests/db.py @@ -1,5 +1,6 @@ #!/usr/bin/env python +import sys import unittest import os from entropy.client.interfaces import Client @@ -15,7 +16,8 @@ class LocalRepositoryTest(unittest.TestCase): """ tearDown is run after each test """ - pass + sys.stdout.write("%s ran\n" % (self,)) + sys.stdout.flush() def test_db_creation(self): dbname = 'test_suite'