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 | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:1f6b4761-e4b8-0d40-fa32-97ab10f54cb1 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B086:57E07:35DCE:4CB63:69789D54 |
| html-safe-nonce | a22055c84e0c3e0f3afca8fa2fb2b06786f934d0e07de28c7155e9d0da899edc |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMDg2OjU3RTA3OjM1RENFOjRDQjYzOjY5Nzg5RDU0IiwidmlzaXRvcl9pZCI6IjQyMTY0NTM1Mzg5NTcwMDgyMTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 53d2694aef550a0099d7b48b8a1841fdae49dd31cd47ec4f7fbf129b97ca2d61 |
| 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/_view_fragments/voltron/pull_requests/show/ipinfo/python/120/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/5b5fe0da058700efbfc41dc549c134e74dfcffcef8c239f2363a170febe8f66d/ipinfo/python/pull/120 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5b5fe0da058700efbfc41dc549c134e74dfcffcef8c239f2363a170febe8f66d/ipinfo/python/pull/120 |
| 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:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | silvanocerza |
| hostname | github.com |
| expected-hostname | github.com |
| None | 2981c597c945c1d90ac6fa355ce7929b2f413dfe7872ca5c435ee53a24a1de50 |
| turbo-cache-control | no-preview |
| 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 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 14920c7cb7d7c207b5e72684d0e6f23b65b849b3 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width