python-kasa/kasa/tests
Steven B 9c0a831027
Enable batching of multiple requests (#662)
* Enable batching of multiple requests

* Test for debug enabled outside of loop

* tweaks

* tweaks

* tweaks

* Update kasa/smartprotocol.py

Co-authored-by: Teemu R. <tpr@iki.fi>

* revert

* Update pyproject.toml

* Add batch test and make batch_size configurable

---------

Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: Teemu R. <tpr@iki.fi>
2024-01-29 11:55:54 +01:00
..
fixtures Update L510E(US) fixture with mac prefix (#722) 2024-01-29 09:25:36 +00:00
__init__.py mass rename to (python-)kasa (#1) 2019-12-18 09:11:18 +01:00
conftest.py Switch from TPLinkSmartHomeProtocol to IotProtocol/XorTransport (#710) 2024-01-26 09:11:31 +00:00
newfakes.py Switch from TPLinkSmartHomeProtocol to IotProtocol/XorTransport (#710) 2024-01-26 09:11:31 +00:00
test_aestransport.py Ensure login token is only sent if aes state is ESTABLISHED (#702) 2024-01-24 09:43:42 -10:00
test_bulb.py Add support for KS205 and KS225 wall switches (#594) 2024-01-03 19:31:42 +01:00
test_cli.py Switch from TPLinkSmartHomeProtocol to IotProtocol/XorTransport (#710) 2024-01-26 09:11:31 +00:00
test_device_factory.py Switch from TPLinkSmartHomeProtocol to IotProtocol/XorTransport (#710) 2024-01-26 09:11:31 +00:00
test_device_type.py Move connect_single to SmartDevice.connect (#538) 2023-11-21 23:48:53 +01:00
test_deviceconfig.py Raise SmartDeviceException on invalid config dicts (#640) 2024-01-18 07:51:50 -10:00
test_dimmer.py Fix pytest warnings about asyncio (#397) 2022-11-13 23:34:47 +01:00
test_discovery.py Switch from TPLinkSmartHomeProtocol to IotProtocol/XorTransport (#710) 2024-01-26 09:11:31 +00:00
test_emeter.py Improve test coverage (#625) 2024-01-10 20:37:43 +01:00
test_httpclient.py Update transport close/reset behaviour (#689) 2024-01-23 12:15:18 -10:00
test_klapprotocol.py Fix test_klapprotocol test duration (#698) 2024-01-23 22:20:44 -10:00
test_lightstrip.py Add transition parameter to lightstrip's set_effect (#416) 2023-02-18 18:03:54 +01:00
test_plug.py Add klap support for TAPO protocol by splitting out Transports and Protocols (#557) 2023-12-04 19:50:05 +01:00
test_protocol.py Switch from TPLinkSmartHomeProtocol to IotProtocol/XorTransport (#710) 2024-01-26 09:11:31 +00:00
test_readme_examples.py Add klap support for TAPO protocol by splitting out Transports and Protocols (#557) 2023-12-04 19:50:05 +01:00
test_smartdevice.py Pull up emeter handling to tapodevice base class (#601) 2024-01-03 19:04:34 +01:00
test_smartprotocol.py Enable batching of multiple requests (#662) 2024-01-29 11:55:54 +01:00
test_strip.py Return alias as None for new discovery devices before update (#627) 2024-01-11 16:12:02 +01:00
test_usage.py Avoid linear search for emeter realtime and emeter_today (#622) 2024-01-05 02:01:00 +01:00