Change deprecated verify_ssl to ssl (#1155)

This commit is contained in:
Nir Galon 2018-11-14 15:16:14 +02:00 committed by Stephen Sadowski
parent 296cda7801
commit efb9a42045

View File

@ -25,7 +25,7 @@ class SanicTestClient:
) )
logger.info(url) logger.info(url)
conn = aiohttp.TCPConnector(verify_ssl=False) conn = aiohttp.TCPConnector(ssl=False)
async with aiohttp.ClientSession( async with aiohttp.ClientSession(
cookies=cookies, connector=conn cookies=cookies, connector=conn
) as session: ) as session: