# Path: tests/utils.py
# def skipIf(condition, message):
#     try:
#         from unittest import skipIf
#         return skipIf(condition, message)
#     except ImportError:  # skipIf/skip not implemented
#         if condition:
#             return lambda x: None
#         else:
#             return lambda x: x


import mock
    import rq
from redis import Redis
from unittest import TestCase
from .utils import skipIf
    from emit.router.rq import RQRouter


try:
except ImportError:
    RQRouter = None



# Path: tests/utils.py
# def skipIf(condition, message):
#     try:
#         from unittest import skipIf
#         return skipIf(condition, message)
#     except ImportError:  # skipIf/skip not implemented
#         if condition:
#             return lambda x: None
#         else:
#             return lambda x: x


# Path: tests/router_rq_tests.py
import mock
    import rq
from redis import Redis
from unittest import TestCase
from .utils import skipIf
    from emit.router.rq import RQRouter



try:
except ImportError:
    RQRouter = None



@skipIf(RQRouter is None, 'RQ did not import correctly')