def test_custom_extension_per_resource():
    """Custom extensions only apply to the resource where it's defined."""
    router = wsgiservice.routing.Router([DummyResource2, DummyResource3])
    retval = router('/foo/bar.txt')
    print retval
    assert retval is None
dataset/ETHPy150Open pneff/wsgiservice/tests/test_router.py/test_custom_extension_per_resource/original