Fixup contributing.md for running test against a real device (#1236)

This commit is contained in:
Steven B. 2024-11-10 14:03:08 +00:00 committed by GitHub
parent 24d7b8612e
commit 6b44fe6242
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 <address>`.
You can also execute the tests against a real device using `uv run pytest --ip=<address> --username=<username> --password=<password>`.
Note that this will perform state changes on the device.
```
@ -74,7 +74,7 @@ $ python -m devtools.dump_devinfo --username <username> --password <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.