From 89bac1c1e65a95c905609b5d3b8e0d5702a789b0 Mon Sep 17 00:00:00 2001 From: Steven B <51370195+sdb9696@users.noreply.github.com> Date: Fri, 8 Nov 2024 15:12:43 +0000 Subject: [PATCH] Fixup contributing.md for running test against a real device --- docs/source/contribute.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/source/contribute.md b/docs/source/contribute.md index 4b40c6468..e2aae43f8 100644 --- a/docs/source/contribute.md +++ b/docs/source/contribute.md @@ -42,7 +42,7 @@ $ uv run pytest kasa This will run the tests against the contributed example responses. ```{note} -You can also execute the tests against a real device using `pytest --ip
`. +You can also execute the tests against a real device using `uv run pytest --ip=
--username= --password=`. Note that this will perform state changes on the device. ``` @@ -74,7 +74,7 @@ $ python -m devtools.dump_devinfo --username --password -- ``` ```{note} -You can also execute the script against a network by using `--target`: `python -m devtools.dump_devinfo --target network 192.168.1.255` +You can also execute the script against a network by using `--target`: `python -m devtools.dump_devinfo --target 192.168.1.255` ``` The script will run queries against the device, and prompt at the end if you want to save the results.