def _assert_two_resources(router):
    retval = router('/foo/id')
    print retval
    assert retval[0]['_extension'] is None
    assert retval[1] is DummyResource2, retval[1]
    retval = router('/foo/anything')
    print retval
    assert retval[0]['id'] == 'anything'
    assert retval[0]['_extension'] is None
    assert retval[1] is DummyResource1, retval[1]
Sort shorter passages first.
dataset/ETHPy150Open pneff/wsgiservice/tests/test_router.py/_assert_two_resources--crossover with--dataset/ETHPy150Open tallstreet/Whoosh-AppEngine/src/whoosh/highlight.py/SHORTER