8000 Fixup contributing.md for running test against a real device (#1236) · python-kasa/python-kasa@6b44fe6 · GitHub
[go: up one dir, main page]

Skip to content

Commit 6b44fe6

Browse files
authored
Fixup contributing.md for running test against a real device (#1236)
1 parent 24d7b86 commit 6b44fe6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/source/contribute.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ $ uv run pytest kasa
4242
This will run the tests against the contributed example responses.
4343

4444
```{note}
45-
You can also execute the tests against a real device using `pytest --ip <address>`.
45+
You can also execute the tests against a real device using `uv run pytest --ip=<address> --username=<username> --password=<password>`.
4646
Note that this will perform state changes on the device.
4747
```
4848

@@ -74,7 +74,7 @@ $ python -m devtools.dump_devinfo --username <username> --password <password> --
7474
```
7575

7676
```{note}
77-
You can also execute the script against a network by using `--target`: `python -m devtools.dump_devinfo --target network 192.168.1.255`
77+
You can also execute the script against a network by using `--target`: `python -m devtools.dump_devinfo --target 192.168.1.255`
7878
```
7979

8080
The script will run queries against the device, and prompt at the end if you want to save the results.

0 commit comments

Comments
 (0)
0