René's URL Explorer Experiment


Title: Fix failing resproxy tests caused by data change by silvanocerza · Pull Request #120 · ipinfo/python · GitHub

Open Graph Title: Fix failing resproxy tests caused by data change by silvanocerza · Pull Request #120 · ipinfo/python

X Title: Fix failing resproxy tests caused by data change by silvanocerza · Pull Request #120 · ipinfo/python

Description: Resproxy tests were failing because the IP that I used to test the API is not in the dataset anymore, so an empty response is returned. This PR fixes the issue by mocking the expected response.

Open Graph Description: Resproxy tests were failing because the IP that I used to test the API is not in the dataset anymore, so an empty response is returned. This PR fixes the issue by mocking the expected response.

X Description: Resproxy tests were failing because the IP that I used to test the API is not in the dataset anymore, so an empty response is returned. This PR fixes the issue by mocking the expected response.

Opengraph URL: https://github.com/ipinfo/python/pull/120

X: @github

direct link

Domain: patch-diff.githubusercontent.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:0b791b9b-52c5-c3f5-9579-86c5d158d7b8
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB2A8:3337F8:621E4C:8B10E6:6978BA31
html-safe-noncef7c2f24074767ba10f54bea63571c4e530aeabcce8ea00e58930d24461abec53
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMkE4OjMzMzdGODo2MjFFNEM6OEIxMEU2OjY5NzhCQTMxIiwidmlzaXRvcl9pZCI6Ijc0MTI2MDU5NDEwNzA3NDAwMTciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac1575b8e0fc336c78180dc05fd42c912ea06579c1f1ad36d5b070643b2e03228f
hovercard-subject-tagpull_request:3204972240
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/ipinfo/python/pull/120/files
twitter:imagehttps://avatars.githubusercontent.com/u/3314350?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/3314350?s=400&v=4
og:image:altResproxy tests were failing because the IP that I used to test the API is not in the dataset anymore, so an empty response is returned. This PR fixes the issue by mocking the expected response.
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None2981c597c945c1d90ac6fa355ce7929b2f413dfe7872ca5c435ee53a24a1de50
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/ipinfo/python git https://github.com/ipinfo/python.git
octolytics-dimension-user_id15721521
octolytics-dimension-user_loginipinfo
octolytics-dimension-repository_id145909218
octolytics-dimension-repository_nwoipinfo/python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id145909218
octolytics-dimension-repository_network_root_nwoipinfo/python
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasef8aa86d87c47054170094daaf9699b27a28a8448
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/ipinfo/python/pull/120/files#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fipinfo%2Fpython%2Fpull%2F120%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fipinfo%2Fpython%2Fpull%2F120%2Ffiles
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=ipinfo%2Fpython
Reloadhttps://patch-diff.githubusercontent.com/ipinfo/python/pull/120/files
Reloadhttps://patch-diff.githubusercontent.com/ipinfo/python/pull/120/files
Reloadhttps://patch-diff.githubusercontent.com/ipinfo/python/pull/120/files
ipinfo https://patch-diff.githubusercontent.com/ipinfo
pythonhttps://patch-diff.githubusercontent.com/ipinfo/python
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fipinfo%2Fpython
Fork 118 https://patch-diff.githubusercontent.com/login?return_to=%2Fipinfo%2Fpython
Star 543 https://patch-diff.githubusercontent.com/login?return_to=%2Fipinfo%2Fpython
Code https://patch-diff.githubusercontent.com/ipinfo/python
Issues 2 https://patch-diff.githubusercontent.com/ipinfo/python/issues
Pull requests 6 https://patch-diff.githubusercontent.com/ipinfo/python/pulls
Actions https://patch-diff.githubusercontent.com/ipinfo/python/actions
Projects 0 https://patch-diff.githubusercontent.com/ipinfo/python/projects
Security 0 https://patch-diff.githubusercontent.com/ipinfo/python/security
Insights https://patch-diff.githubusercontent.com/ipinfo/python/pulse
Code https://patch-diff.githubusercontent.com/ipinfo/python
Issues https://patch-diff.githubusercontent.com/ipinfo/python/issues
Pull requests https://patch-diff.githubusercontent.com/ipinfo/python/pulls
Actions https://patch-diff.githubusercontent.com/ipinfo/python/actions
Projects https://patch-diff.githubusercontent.com/ipinfo/python/projects
Security https://patch-diff.githubusercontent.com/ipinfo/python/security
Insights https://patch-diff.githubusercontent.com/ipinfo/python/pulse
Sign up for GitHub https://patch-diff.githubusercontent.com/signup?return_to=%2Fipinfo%2Fpython%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://patch-diff.githubusercontent.com/login?return_to=%2Fipinfo%2Fpython%2Fissues%2Fnew%2Fchoose
silvanocerzahttps://patch-diff.githubusercontent.com/silvanocerza
masterhttps://patch-diff.githubusercontent.com/ipinfo/python/tree/master
fix-testshttps://patch-diff.githubusercontent.com/ipinfo/python/tree/fix-tests
Conversation 0 https://patch-diff.githubusercontent.com/ipinfo/python/pull/120
Commits 1 https://patch-diff.githubusercontent.com/ipinfo/python/pull/120/commits
Checks 5 https://patch-diff.githubusercontent.com/ipinfo/python/pull/120/checks
Files changed 2 https://patch-diff.githubusercontent.com/ipinfo/python/pull/120/files
Fix failing resproxy tests caused by data change https://patch-diff.githubusercontent.com/ipinfo/python/pull/120/files#top
Show all changes 1 commit https://patch-diff.githubusercontent.com/ipinfo/python/pull/120/files
9947628 Mock resproxy tests to avoid dependency on live data silvanocerza Jan 23, 2026 https://patch-diff.githubusercontent.com/ipinfo/python/pull/120/commits/9947628682a9ccce7d681c09e8a51273648ab0bc
Clear filters https://patch-diff.githubusercontent.com/ipinfo/python/pull/120/files
Please reload this pagehttps://patch-diff.githubusercontent.com/ipinfo/python/pull/120/files
Please reload this pagehttps://patch-diff.githubusercontent.com/ipinfo/python/pull/120/files
handler_async_test.py https://patch-diff.githubusercontent.com/ipinfo/python/pull/120/files#diff-bf378d8761c22989a318771cf433e4d162ff7a4cb8ceb887aada96e9cceff753
handler_test.py https://patch-diff.githubusercontent.com/ipinfo/python/pull/120/files#diff-984edb7b3cd04d4400ad028efa4c9ccea1a9127cb2dfd9b25b3eb4f425a6818d
tests/handler_async_test.pyhttps://patch-diff.githubusercontent.com/ipinfo/python/pull/120/files#diff-bf378d8761c22989a318771cf433e4d162ff7a4cb8ceb887aada96e9cceff753
View file https://patch-diff.githubusercontent.com/ipinfo/python/blob/9947628682a9ccce7d681c09e8a51273648ab0bc/tests/handler_async_test.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/ipinfo/python/pull/120/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/ipinfo/python/pull/120/files#diff-bf378d8761c22989a318771cf433e4d162ff7a4cb8ceb887aada96e9cceff753
https://patch-diff.githubusercontent.com/ipinfo/python/pull/120/files#diff-bf378d8761c22989a318771cf433e4d162ff7a4cb8ceb887aada96e9cceff753
https://patch-diff.githubusercontent.com/ipinfo/python/pull/120/files#diff-bf378d8761c22989a318771cf433e4d162ff7a4cb8ceb887aada96e9cceff753
https://patch-diff.githubusercontent.com/ipinfo/python/pull/120/files#diff-bf378d8761c22989a318771cf433e4d162ff7a4cb8ceb887aada96e9cceff753
https://patch-diff.githubusercontent.com/ipinfo/python/pull/120/files#diff-bf378d8761c22989a318771cf433e4d162ff7a4cb8ceb887aada96e9cceff753
https://patch-diff.githubusercontent.com/ipinfo/python/pull/120/files#diff-bf378d8761c22989a318771cf433e4d162ff7a4cb8ceb887aada96e9cceff753
https://patch-diff.githubusercontent.com/ipinfo/python/pull/120/files#diff-bf378d8761c22989a318771cf433e4d162ff7a4cb8ceb887aada96e9cceff753
https://patch-diff.githubusercontent.com/ipinfo/python/pull/120/files#diff-bf378d8761c22989a318771cf433e4d162ff7a4cb8ceb887aada96e9cceff753
https://patch-diff.githubusercontent.com/ipinfo/python/pull/120/files#diff-bf378d8761c22989a318771cf433e4d162ff7a4cb8ceb887aada96e9cceff753
https://patch-diff.githubusercontent.com/ipinfo/python/pull/120/files#diff-bf378d8761c22989a318771cf433e4d162ff7a4cb8ceb887aada96e9cceff753
tests/handler_test.pyhttps://patch-diff.githubusercontent.com/ipinfo/python/pull/120/files#diff-984edb7b3cd04d4400ad028efa4c9ccea1a9127cb2dfd9b25b3eb4f425a6818d
View file https://patch-diff.githubusercontent.com/ipinfo/python/blob/9947628682a9ccce7d681c09e8a51273648ab0bc/tests/handler_test.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/ipinfo/python/pull/120/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/ipinfo/python/pull/120/files#diff-984edb7b3cd04d4400ad028efa4c9ccea1a9127cb2dfd9b25b3eb4f425a6818d
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.