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
Domain: patch-diff.githubusercontent.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:0b791b9b-52c5-c3f5-9579-86c5d158d7b8 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B2A8:3337F8:621E4C:8B10E6:6978BA31 |
| html-safe-nonce | f7c2f24074767ba10f54bea63571c4e530aeabcce8ea00e58930d24461abec53 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMkE4OjMzMzdGODo2MjFFNEM6OEIxMEU2OjY5NzhCQTMxIiwidmlzaXRvcl9pZCI6Ijc0MTI2MDU5NDEwNzA3NDAwMTciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 1575b8e0fc336c78180dc05fd42c912ea06579c1f1ad36d5b070643b2e03228f |
| hovercard-subject-tag | pull_request:3204972240 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/ipinfo/python/pull/120/files |
| twitter:image | https://avatars.githubusercontent.com/u/3314350?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/3314350?s=400&v=4 |
| og:image:alt | 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. |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 2981c597c945c1d90ac6fa355ce7929b2f413dfe7872ca5c435ee53a24a1de50 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/ipinfo/python git https://github.com/ipinfo/python.git |
| octolytics-dimension-user_id | 15721521 |
| octolytics-dimension-user_login | ipinfo |
| octolytics-dimension-repository_id | 145909218 |
| octolytics-dimension-repository_nwo | ipinfo/python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 145909218 |
| octolytics-dimension-repository_network_root_nwo | ipinfo/python |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f8aa86d87c47054170094daaf9699b27a28a8448 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width