def test_two_resources_priorities_large():
    """The more specific path takes precedence over the other one."""
    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] != DummyResource3, retval[1]
dataset/ETHPy150Open pneff/wsgiservice/tests/test_router.py/test_two_resources_priorities_large/operator `is` -> `!=`