def test_two_resources_priorities_large():
    router = wsgiservice.routing.Router([DummyResource1, DummyResource3])
    retval = router('/foo/id')
    print retval
    assert retval[0]['id'] == 'id'
    assert retval[0]['_extension'] is None
    assert retval[1] is DummyResource1, retval[1]
    retval = router('/foo/anything/else')
    print retval
    assert retval[0]['_extension'] is None
    assert retval[1] is DummyResource3, retval[1]
The more specific path takes precedence over the other one.
dataset/ETHPy150Open pneff/wsgiservice/tests/test_router.py/test_two_resources_priorities_large