def test_one_resource():
    """Route matches for one resource and path parameter is extracted."""
    router = wsgiservice.routing.Router([DummyResource1])
    retval = router('/foo/my_id')
    print retval
    assert retval[0]['id'] == 'my_id'
    assert retval[0]['_extension'] != None
    assert retval[1] is DummyResource1
dataset/ETHPy150Open pneff/wsgiservice/tests/test_router.py/test_one_resource/operator `is` -> `!=`