def METHOD_NAME(self, db_request):
    name = "pip"
    version = "10.0.0"
    db_request.params = {"name": name, "version": version}
    db_request.route_path = pretend.call_recorder(
        lambda *a, **kw: f"/project/{name}/{version}/"
    )
    result = pypi.display(db_request)
    assert isinstance(result, HTTPMovedPermanently)
    assert result.headers["Location"] == (f"/project/{name}/{version}/")
    assert result.status_code == 301
    assert db_request.route_path.calls == [
        pretend.call("packaging.release", name=name, version=version)
    ]