Testing of internet availability is through pinging google.com but this is not whitelisted within our analytical environment to prevent egress of sensitive data. Changing the url to ons.gov.uk allows the internet availability test to pass.
|
self._session.get("https://www.google.com", timeout=5) |