Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def test_chrome_driver_links(self):
for platform in mintapi.api.CHROME_ZIP_TYPES:
zip_type = mintapi.api.CHROME_ZIP_TYPES.get(platform)
zip_file_url = mintapi.api.CHROME_DRIVER_BASE_URL % (mintapi.api.CHROME_DRIVER_VERSION, zip_type)
request = requests.get(zip_file_url)
self.assertEqual(request.status_code, 200)