Source code for zbot.test

# zbot/test.py
#
#

""" define core test classes. """

## 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__(self, *args, **kwargs): unittest.TestCase.__init__(self, *args, **kwargs) from zbot.log import log_config self.logger = log_config("error")
if not os.getcwd() in sys.path: sys.path.append(os.getcwd())