mirror of
https://github.com/python-kasa/python-kasa.git
synced 2026-07-08 14:52:03 +00:00
tests: centralize transport and session cleanup in conftest (#1683)
This commit is contained in:
@@ -411,7 +411,6 @@ async def test_handshake(
|
||||
|
||||
config = DeviceConfig("127.0.0.1", credentials=client_credentials)
|
||||
protocol = IotProtocol(transport=transport_class(config=config))
|
||||
protocol._transport.http_client = aiohttp.ClientSession()
|
||||
|
||||
response_status = 200
|
||||
await protocol._transport.perform_handshake()
|
||||
|
||||
Reference in New Issue
Block a user