def test_custom_extension():
    router = wsgiservice.routing.Router([DummyResource3])
    retval = router('/foo/anything/else.txt')
    print retval
    assert retval is not None
    assert retval[0]['_extension'] == '.txt'
    assert retval[1] is DummyResource3
Celery application getter.
dataset/ETHPy150Open pneff/wsgiservice/tests/test_router.py/test_custom_extension--crossover with--dataset/ETHPy150Open mtth/kit/kit/base.py/Kit.get_celery_app