python-kasa/kasa/tests
Teemu R 51a972542f
Disallow non-targeted device commands (#982)
Prevent the cli from allowing sub commands unless host or alias is specified.
It is unwise to allow commands to be run on an arbitrary set of discovered
devices so this PR shows an error if attempted.
Also consolidates other invalid cli operations to use a single error function
to display the error to the user.
2024-06-17 10:04:46 +01:00
..
fixtures Add fixture for L920-5(EU) 1.0.7 (#972) 2024-06-11 20:22:32 +02:00
smart Support smart child modules queries (#967) 2024-06-10 16:47:00 +02:00
__init__.py mass rename to (python-)kasa (#1) 2019-12-18 09:11:18 +01:00
conftest.py Fix potential infinite loop if incomplete lists returned (#920) 2024-05-19 10:34:52 +01:00
device_fixtures.py Do not add parent only modules to strip sockets (#963) 2024-06-10 06:21:21 +01:00
discovery_fixtures.py Update documentation structure and start migrating to markdown (#934) 2024-06-03 10:14:10 +01:00
fakeprotocol_iot.py Fix switching off light effects for iot lights strips (#961) 2024-06-07 11:29:26 +01:00
fakeprotocol_smart.py Support smart child modules queries (#967) 2024-06-10 16:47:00 +02:00
fixtureinfo.py Enable and convert to future annotations (#838) 2024-04-17 15:39:24 +02:00
test_aestransport.py Use freezegun for testing aes http client delays (#954) 2024-06-05 18:13:10 +01:00
test_bulb.py Add some device fixtures (#948) 2024-06-04 19:24:53 +02:00
test_childdevice.py Do not add parent only modules to strip sockets (#963) 2024-06-10 06:21:21 +01:00
test_cli.py Disallow non-targeted device commands (#982) 2024-06-17 10:04:46 +01:00
test_common_modules.py Do not expose child modules on parent devices (#964) 2024-06-10 05:59:37 +01:00
test_device_factory.py Make device initialisation easier by reducing required imports (#936) 2024-06-03 19:06:54 +01:00
test_device_type.py Refactor devices into subpackages and deprecate old names (#716) 2024-02-04 16:20:08 +01:00
test_device.py Make device initialisation easier by reducing required imports (#936) 2024-06-03 19:06:54 +01:00
test_deviceconfig.py Rename and deprecate exception classes (#739) 2024-02-21 16:52:55 +01:00
test_dimmer.py Fix set_state for common light modules (#929) 2024-05-22 15:33:55 +02:00
test_discovery.py Make device initialisation easier by reducing required imports (#936) 2024-06-03 19:06:54 +01:00
test_emeter.py Rename and deprecate exception classes (#739) 2024-02-21 16:52:55 +01:00
test_feature.py Make Light and Fan a common module interface (#911) 2024-05-13 17:34:44 +01:00
test_httpclient.py Rename and deprecate exception classes (#739) 2024-02-21 16:52:55 +01:00
test_iotdevice.py Create common interfaces for remaining device types (#895) 2024-05-10 19:29:28 +01:00
test_klapprotocol.py Retry query on 403 after succesful handshake (#785) 2024-02-22 18:02:03 +01:00
test_lightstrip.py Make Light and Fan a common module interface (#911) 2024-05-13 17:34:44 +01:00
test_plug.py Refactor split smartdevice tests to test_{iot,smart}device (#822) 2024-03-15 15:55:48 +00:00
test_protocol.py Rename and deprecate exception classes (#739) 2024-02-21 16:52:55 +01:00
test_readme_examples.py Update documentation structure and start migrating to markdown (#934) 2024-06-03 10:14:10 +01:00
test_smartdevice.py Support smart child modules queries (#967) 2024-06-10 16:47:00 +02:00
test_smartprotocol.py Do not raise on multi-request errors on child devices (#949) 2024-06-03 20:41:55 +02:00
test_strip.py Add state features to iot strip sockets (#960) 2024-06-07 10:52:11 +01:00
test_usage.py Refactor devices into subpackages and deprecate old names (#716) 2024-02-04 16:20:08 +01:00