def METHOD_NAME(self, pyramid_request):
    pyramid_request.path = "/foo"
    redirects = [Redirect(src="/foo", dst="donkey", internal=True, prefix=False)]
    result = lookup(redirects, pyramid_request)
    assert result == "http://example.com/donkey"