def test_one_resource_extension_unknown():
    """Unknown extensions are treated as part of the path parameters."""
    router = wsgiservice.routing.Router([DummyResource1])
    retval = router('/foo/other_id.plain')
    print retval
    assert retval[0]['id'] == 'other_id.plain'
    assert retval[0]['_extension'] is None
    assert retval[1] is DummyResource1
dataset/ETHPy150Open pneff/wsgiservice/tests/test_router.py/test_one_resource_extension_unknown/original