python-kasa/kasa/tests
Teemu R 1803a83ae6
Improve testing harness to allow tests on real devices (#197)
* test_cli: provide return values to patched objects to avoid warning about non-awaited calls

* test_cli: restore alias after testing

* smartstrip: remove internal update() calls for turn_{on,off}, set_led

* Make sure power is always a float

* Fix discovery tests

* Make tests runnable on real devices

* Add a note about running tests on a real device

* test_strip: run update against the parent device
2021-09-19 23:45:48 +02:00
..
fixtures Add real kasa KL430(UN) device dump (#192) 2021-08-16 20:16:29 +02:00
__init__.py mass rename to (python-)kasa (#1) 2019-12-18 09:11:18 +01:00
conftest.py Improve testing harness to allow tests on real devices (#197) 2021-09-19 23:45:48 +02:00
newfakes.py Improve testing harness to allow tests on real devices (#197) 2021-09-19 23:45:48 +02:00
test_bulb.py Improve testing harness to allow tests on real devices (#197) 2021-09-19 23:45:48 +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 Improve testing harness to allow tests on real devices (#197) 2021-09-19 23:45:48 +02:00
test_emeter.py Improve testing harness to allow tests on real devices (#197) 2021-09-19 23:45:48 +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 Improve testing harness to allow tests on real devices (#197) 2021-09-19 23:45:48 +02:00
test_strip.py Improve testing harness to allow tests on real devices (#197) 2021-09-19 23:45:48 +02:00