[unittest] add more verbosity to test modules
This commit is contained in:
@@ -18,6 +18,8 @@ import tests._misc as _misc
|
||||
class EntropyRepositoryTest(unittest.TestCase):
|
||||
|
||||
def setUp(self):
|
||||
sys.stdout.write("%s called\n" % (self,))
|
||||
sys.stdout.flush()
|
||||
self.mem_repoid = "mem_repo"
|
||||
self.mem_repo_desc = "This is a testing repository"
|
||||
self.Client = Client(noclientdb = 2, indexing = False, xcache = False,
|
||||
|
||||
@@ -14,6 +14,8 @@ import tests._misc as _misc
|
||||
class EntropyRepositoryTest(unittest.TestCase):
|
||||
|
||||
def setUp(self):
|
||||
sys.stdout.write("%s called\n" % (self,))
|
||||
sys.stdout.flush()
|
||||
self.Client = Client(noclientdb = 2, indexing = False, xcache = False,
|
||||
repo_validation = False)
|
||||
self.Spm = self.Client.Spm()
|
||||
|
||||
@@ -14,6 +14,8 @@ from entropy.const import const_convert_to_unicode
|
||||
class MiscTest(unittest.TestCase):
|
||||
|
||||
def setUp(self):
|
||||
sys.stdout.write("%s called\n" % (self,))
|
||||
sys.stdout.flush()
|
||||
self._backup_language = os.environ.get("LANGUAGE", '')
|
||||
self._words_to_test = [
|
||||
"Yes", "No", "database already exists",
|
||||
|
||||
@@ -9,6 +9,8 @@ from entropy.misc import Lifo, TimeScheduled, ParallelTask, EmailSender
|
||||
class MiscTest(unittest.TestCase):
|
||||
|
||||
def setUp(self):
|
||||
sys.stdout.write("%s called\n" % (self,))
|
||||
sys.stdout.flush()
|
||||
self.__lifo = Lifo()
|
||||
self._lifo_item1 = set([1, 2, 3, 4])
|
||||
self._lifo_item2 = set([1, 2, 3, 4])
|
||||
|
||||
@@ -11,6 +11,8 @@ import tempfile
|
||||
class QATest(unittest.TestCase):
|
||||
|
||||
def setUp(self):
|
||||
sys.stdout.write("%s called\n" % (self,))
|
||||
sys.stdout.flush()
|
||||
text = TextInterface()
|
||||
self.QA = entropy.qa.QAInterface(text)
|
||||
|
||||
|
||||
@@ -15,6 +15,8 @@ import tests._misc as _misc
|
||||
class EntropyRepositoryTest(unittest.TestCase):
|
||||
|
||||
def setUp(self):
|
||||
sys.stdout.write("%s called\n" % (self,))
|
||||
sys.stdout.flush()
|
||||
self.default_repo = "foo"
|
||||
etpConst['officialserverrepositoryid'] = self.default_repo
|
||||
etpConst['uid'] = 0
|
||||
|
||||
@@ -13,6 +13,8 @@ import shutil
|
||||
class SpmTest(unittest.TestCase):
|
||||
|
||||
def setUp(self):
|
||||
sys.stdout.write("%s called\n" % (self,))
|
||||
sys.stdout.flush()
|
||||
self.Client = Client(noclientdb = 2, indexing = False, xcache = False,
|
||||
repo_validation = False)
|
||||
self.test_pkg = _misc.get_test_entropy_package()
|
||||
|
||||
@@ -17,6 +17,8 @@ import stat
|
||||
class ToolsTest(unittest.TestCase):
|
||||
|
||||
def setUp(self):
|
||||
sys.stdout.write("%s called\n" % (self,))
|
||||
sys.stdout.flush()
|
||||
self.test_pkg = _misc.get_test_entropy_package()
|
||||
self.test_pkg2 = _misc.get_test_entropy_package2()
|
||||
self.test_pkg3 = _misc.get_test_entropy_package3()
|
||||
|
||||
@@ -11,6 +11,8 @@ from entropy.const import etpUi
|
||||
class TransceiversTest(unittest.TestCase):
|
||||
|
||||
def setUp(self):
|
||||
sys.stdout.write("%s called\n" % (self,))
|
||||
sys.stdout.flush()
|
||||
self._random_file = _misc.get_random_file()
|
||||
self._random_file_md5 = _misc.get_random_file_md5()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user