python-kasa/kasa/tests
Teemu R eb4c048b57
Simplify device __repr__ (#805)
Previously:
```
>>> dev
<DeviceType.Hub model H100 at 192.168.xx.xx (Smart Hub), is_on: False - dev specific: {'overheated': False, 'signal_level': 2, 'SSID': 'xx'}>
>>> dev.children[0]
<ChildDevice Temperature Humidity Sensor of <DeviceType.Hub model H100 at 192.168.xx.xx (Smart Hub), is_on: False - dev specific: {'overheated': False, 'signal_level': 2, 'SSID': 'xx'}>>
```

Now:
```
>>> dev
Device: <DeviceType.Hub at 192.168.xx.xx - Smart Hub (H100)>
>>> dev.children[0]
<DeviceType.Sensor Temperature Humidity Sensor (T315) of <DeviceType.Hub at 192.168.xx.xx - Smart Hub (H100)>>
```
2024-03-05 13:35:19 +01:00
..
fixtures Add fixture for P110 sw 1.0.7 (#801) 2024-02-27 20:06:13 +01:00
__init__.py mass rename to (python-)kasa (#1) 2019-12-18 09:11:18 +01:00
conftest.py Refactor test framework (#794) 2024-02-27 18:39:04 +01:00
device_fixtures.py Add WallSwitch device type and autogenerate supported devices docs (#758) 2024-03-01 18:32:45 +00:00
discovery_fixtures.py Refactor test framework (#794) 2024-02-27 18:39:04 +01:00
fakeprotocol_iot.py Refactor test framework (#794) 2024-02-27 18:39:04 +01:00
fakeprotocol_smart.py Refactor test framework (#794) 2024-02-27 18:39:04 +01:00
fixtureinfo.py Refactor test framework (#794) 2024-02-27 18:39:04 +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 Add initial support for H100 and T315 (#776) 2024-02-22 23:09:38 +01:00
test_cli.py Refactor test framework (#794) 2024-02-27 18:39:04 +01:00
test_device_factory.py Add WallSwitch device type and autogenerate supported devices docs (#758) 2024-03-01 18:32:45 +00: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 Add WallSwitch device type and autogenerate supported devices docs (#758) 2024-03-01 18:32:45 +00:00
test_emeter.py Rename and deprecate exception classes (#739) 2024-02-21 16:52:55 +01:00
test_feature_brightness.py Refactor test framework (#794) 2024-02-27 18:39:04 +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 Retry query on 403 after succesful handshake (#785) 2024-02-22 18:02:03 +01:00
test_lightstrip.py Rename and deprecate exception classes (#739) 2024-02-21 16:52:55 +01:00
test_plug.py Add WallSwitch device type and autogenerate supported devices docs (#758) 2024-03-01 18:32:45 +00:00
test_protocol.py Rename and deprecate exception classes (#739) 2024-02-21 16:52:55 +01:00
test_readme_examples.py Refactor test framework (#794) 2024-02-27 18:39:04 +01:00
test_smartdevice.py Simplify device __repr__ (#805) 2024-03-05 13:35:19 +01:00
test_smartprotocol.py Support multiple child requests (#795) 2024-02-26 17:13:46 +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