Answers for "pytest InsecureRequestWarning: Unverified HTTPS request"

4

python request remove warning

#Removes request warnings from console

import requests
from requests.packages.urllib3.exceptions import InsecureRequestWarning

requests.packages.urllib3.disable_warnings(InsecureRequestWarning)
Posted by: Guest on January-06-2020

Code answers related to "pytest InsecureRequestWarning: Unverified HTTPS request"

Python Answers by Framework

Browse Popular Code Answers by Language