Source code for mads.test

# mads/test.py
#
#

""" bot to use in tests. """

from mads.event import Event
from mads.name import sname
from mads.object import Object
from mads.bots import Bot

import unittest
import queue
import sys

[docs]class Test(unittest.TestCase): """ custom class for unittests. """ pass
[docs]class TestBot(Bot): """ Bot to use in testing. """ cc = ""
[docs] def raw(self, txt): """ raw output function, uses print(). """ from mids import cfg if cfg.verbose: print(txt)