def test_custom_extension_multiple():
    router = wsgiservice.routing.Router([DummyResource2, DummyResource3])
    retval = router('/foo/anything/else.txt')
    print retval
    assert retval is not None
    assert retval[0]['_extension'] == '.txt'
    assert retval[1] is DummyResource3
Custom extensions of a resource is recognized for routes.
dataset/ETHPy150Open pneff/wsgiservice/tests/test_router.py/test_custom_extension_multiple