diff --git a/tests/test_ubicast_packages_access.py b/tests/test_ubicast_packages_access.py index e5caea741c5d73b9dcdacb584b9e1f5b44dbf261..f547e3fcd0bd4b7854f85422ec71ac0af61abcaf 100755 --- a/tests/test_ubicast_packages_access.py +++ b/tests/test_ubicast_packages_access.py @@ -38,7 +38,7 @@ if not url or not api_key: print('SkyReach url is %s and API key is %s[...].' % (url, api_key[:8])) # Test SkyReach responses -req = requests.get(url) +req = requests.get(url, verify=False) if not req.ok: print('Request to %s failed (%s):' % (url, req.status_code)) print(req.text) @@ -47,7 +47,7 @@ else: print('Request to %s: OK.' % url) apt_url = '%s/packaging/apt/%s/Packages' % (url, api_key) -req = requests.get(apt_url) +req = requests.get(apt_url, verify=False) apt_url = apt_url.replace(api_key, api_key[:8] + '[...]') if not req.ok: print('Request to %s failed (%s):' % (apt_url, req.status_code))