python-kasa/kasa/tests
Teemu R 30c4e6a6a3
Cleanup credentials handling (#605)
* credentials: don't allow none to simplify checks

* Implement __bool__ for credentials

* Cleanup klaptransport cred usage

* Cleanup deviceconfig and tapodevice

* fix linting

* Pass dummy credentials for tests

* Remove __bool__ dunder and add docs to credentials

* Check for cred noneness in tapodevice.update()
2024-01-03 19:26:52 +01:00
..
fixtures Update P110(EU) fixture (#604) 2024-01-02 19:34:39 +01:00
__init__.py mass rename to (python-)kasa (#1) 2019-12-18 09:11:18 +01:00
conftest.py Add DeviceConfig to allow specifying configuration parameters (#569) 2023-12-29 20:17:15 +01:00
newfakes.py Cleanup credentials handling (#605) 2024-01-03 19:26:52 +01:00
test_aestransport.py Add DeviceConfig to allow specifying configuration parameters (#569) 2023-12-29 20:17:15 +01:00
test_bulb.py Add support for tapo bulbs (#558) 2023-12-05 20:07:10 +01:00
test_cli.py Add DeviceConfig to allow specifying configuration parameters (#569) 2023-12-29 20:17:15 +01:00
test_device_factory.py Cleanup credentials handling (#605) 2024-01-03 19:26:52 +01:00
test_device_type.py Move connect_single to SmartDevice.connect (#538) 2023-11-21 23:48:53 +01:00
test_deviceconfig.py Add DeviceConfig to allow specifying configuration parameters (#569) 2023-12-29 20:17:15 +01:00
test_dimmer.py Fix pytest warnings about asyncio (#397) 2022-11-13 23:34:47 +01:00
test_discovery.py Add DeviceConfig to allow specifying configuration parameters (#569) 2023-12-29 20:17:15 +01:00
test_emeter.py Enable multiple requests in smartprotocol (#584) 2023-12-20 18:08:04 +01:00
test_klapprotocol.py Add DeviceConfig to allow specifying configuration parameters (#569) 2023-12-29 20:17:15 +01: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 Add DeviceConfig to allow specifying configuration parameters (#569) 2023-12-29 20:17:15 +01: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 Add DeviceConfig to allow specifying configuration parameters (#569) 2023-12-29 20:17:15 +01:00
test_strip.py Some release preparation janitoring (#432) 2023-02-18 22:09:35 +01:00
test_usage.py Return usage.get_{monthstat,daystat} in expected format (#394) 2023-02-18 20:53:02 +01:00