mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-07-09 18:36:29 +00:00
Fix the pytest command on testing page (#1440)
This commit is contained in:
parent
ee769c7d60
commit
07c779bad0
@ -77,7 +77,7 @@ script/lint
|
|||||||
In case you want to check the code coverage for your new component, run the following from the root of the repository:
|
In case you want to check the code coverage for your new component, run the following from the root of the repository:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
pytest ./tests/components/<your_component>/ --asyncio-mode=strict --cov=homeassistant.components.<your_component> --cov-report term-missing -vv
|
pytest ./tests/components/<your_component>/ --cov=homeassistant.components.<your_component> --cov-report term-missing -vv
|
||||||
```
|
```
|
||||||
|
|
||||||
### Preventing linter errors
|
### Preventing linter errors
|
||||||
|
Loading…
x
Reference in New Issue
Block a user