python-kasa/kasa/tests
Teemu R acb221b1e0
Cleanup discovery & add tests (#212)
* Cleanup discovery & add tests

* discovered_devices_raw is not anymore available, as that can be accessed directly from the device objects
* test most of the discovery code paths
* some minor cleanups to test handling
* update discovery docs

* Move category check to be after the definitions

* skip a couple of tests requiring asyncmock not available on py37

* Remove return_raw usage from cli.discover
2021-09-24 17:18:11 +02:00
..
fixtures Add KP115 fixture (#202) 2021-09-21 19:20:59 +02:00
__init__.py mass rename to (python-)kasa (#1) 2019-12-18 09:11:18 +01:00
conftest.py Cleanup discovery & add tests (#212) 2021-09-24 17:18:11 +02:00
newfakes.py Improve bulb support (alias, time settings) (#198) 2021-09-19 23:53:17 +02:00
test_bulb.py bulb: allow set_hsv without v, add fallback ct range (#200) 2021-09-21 13:23:56 +02:00
test_cli.py Improve testing harness to allow tests on real devices (#197) 2021-09-19 23:45:48 +02:00
test_dimmer.py Simplify API documentation by using doctests (#73) 2020-06-30 02:29:52 +02:00
test_discovery.py Cleanup discovery & add tests (#212) 2021-09-24 17:18:11 +02:00
test_emeter.py Add emeter support for strip sockets (#203) 2021-09-24 00:24:44 +02:00
test_plug.py Improve testing harness to allow tests on real devices (#197) 2021-09-19 23:45:48 +02:00
test_protocol.py Simplify API documentation by using doctests (#73) 2020-06-30 02:29:52 +02:00
test_readme_examples.py Return None instead of raising an exception on missing, valid emeter keys (#146) 2021-03-18 19:22:10 +01:00
test_smartdevice.py Add emeter support for strip sockets (#203) 2021-09-24 00:24:44 +02:00
test_strip.py Improve testing harness to allow tests on real devices (#197) 2021-09-19 23:45:48 +02:00