import logging
import logging.handlers
import unittest

import redispatcher

from redispatcher import DebugRedis, Redis, fmtcmd, logcmd, wirecmd

try:
    NullHandler = logging.NullHandler
except AttributeError:
    class NullHandler(logging.Handler):
        def emit(self, record): pass