8000 Fixup contributing.md for running test against a real device by sdb9696 · Pull Request #1236 · python-kasa/python-kasa · GitHub
[go: up one dir, main page]

Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Nov 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/source/contribute.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
```

Expand Down Expand Up @@ -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.
Expand Down
Loading
0