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