def test_outgoing(self):
        self.backends = {'mockbackend': {'ENGINE': harness.MockBackend,
                                         'router.celery.eager': True}}
        self.set_backends()
        router = get_router()
        self.assertTrue(router.is_eager('mockbackend'))
is_eager should return True if router.celery.eager is set.
dataset/ETHPy150Open rapidsms/rapidsms/rapidsms/router/celery/tests.py/CeleryRouterConfigTest.test_outgoing