From 6b44fe6242c59dc4c27480aad73785a1c589f8d4 Mon Sep 17 00:00:00 2001 From: "Steven B." <51370195+sdb9696@users.noreply.github.com> Date: Sun, 10 Nov 2024 14:03:08 +0000 Subject: [PATCH] Fixup contributing.md for running test against a real device (#1236) --- 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 4b40c646..e2aae43f 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.