python-kasa/kasa/tests
Steven B 8c39e81a40
Rename and deprecate exception classes (#739)
# Public #
SmartDeviceException -> KasaException
UnsupportedDeviceException(SmartDeviceException) -> UnsupportedDeviceError(KasaException)
TimeoutException(SmartDeviceException, asyncio.TimeoutError) -> TimeoutError(KasaException, asyncio.TimeoutError)

Add new exception for error codes -> DeviceError(KasaException)
AuthenticationException(SmartDeviceException) -> AuthenticationError(DeviceError)

# Internal #
RetryableException(SmartDeviceException) -> _RetryableError(DeviceError)
ConnectionException(SmartDeviceException) -> _ConnectionError(KasaException)
2024-02-21 16:52:55 +01:00
..
fixtures Fix devtools for P100 and add fixture (#753) 2024-02-14 19:43:10 +00:00
__init__.py mass rename to (python-)kasa (#1) 2019-12-18 09:11:18 +01:00
conftest.py Fix discovery cli to print devices not printed during discovery timeout (#670) 2024-02-05 17:53:09 +00:00
fakeprotocol_iot.py Various test code cleanups (#725) 2024-01-29 20:26:39 +01:00
fakeprotocol_smart.py Rename and deprecate exception classes (#739) 2024-02-21 16:52:55 +01:00
test_aestransport.py Rename and deprecate exception classes (#739) 2024-02-21 16:52:55 +01:00
test_bulb.py Rename and deprecate exception classes (#739) 2024-02-21 16:52:55 +01:00
test_childdevice.py Initial implementation for modularized smartdevice (#757) 2024-02-19 18:01:31 +01:00
test_cli.py Rename and deprecate exception classes (#739) 2024-02-21 16:52:55 +01:00
test_device_factory.py Rename and deprecate exception classes (#739) 2024-02-21 16:52:55 +01:00
test_device_type.py Refactor devices into subpackages and deprecate old names (#716) 2024-02-04 16:20:08 +01:00
test_deviceconfig.py Rename and deprecate exception classes (#739) 2024-02-21 16:52:55 +01:00
test_dimmer.py Refactor devices into subpackages and deprecate old names (#716) 2024-02-04 16:20:08 +01:00
test_discovery.py Rename and deprecate exception classes (#739) 2024-02-21 16:52:55 +01:00
test_emeter.py Rename and deprecate exception classes (#739) 2024-02-21 16:52:55 +01:00
test_feature.py Add generic interface for accessing device features (#741) 2024-02-15 16:25:08 +01:00
test_httpclient.py Rename and deprecate exception classes (#739) 2024-02-21 16:52:55 +01:00
test_klapprotocol.py Rename and deprecate exception classes (#739) 2024-02-21 16:52:55 +01:00
test_lightstrip.py Rename and deprecate exception classes (#739) 2024-02-21 16:52:55 +01:00
test_plug.py Various test code cleanups (#725) 2024-01-29 20:26:39 +01:00
test_protocol.py Rename and deprecate exception classes (#739) 2024-02-21 16:52:55 +01:00
test_readme_examples.py Refactor devices into subpackages and deprecate old names (#716) 2024-02-04 16:20:08 +01:00
test_smartdevice.py Rename and deprecate exception classes (#739) 2024-02-21 16:52:55 +01:00
test_smartprotocol.py Rename and deprecate exception classes (#739) 2024-02-21 16:52:55 +01:00
test_strip.py Rename and deprecate exception classes (#739) 2024-02-21 16:52:55 +01:00
test_usage.py Refactor devices into subpackages and deprecate old names (#716) 2024-02-04 16:20:08 +01:00