# core/test.py
#
#
""" define core test classes. """
__copyright__ = "Copyright 2014 B.H.J Thate"
## basic imports
import os
import sys
import unittest
## Test class
[docs]class Test(unittest.TestCase):
""" class that implements setup and teardow of tests. """
def __init__(zelf, *args, **kwargs):
unittest.TestCase.__init__(zelf, *args, **kwargs)
import core
zelf.logger = core.log.init("error")
if not os.getcwd() in sys.path: sys.path.append(os.getcwd())