From 558b3a82d6cc61b22038547e45eea7cbdc288b30 Mon Sep 17 00:00:00 2001 From: Robert Hillis Date: Sun, 10 Jul 2022 17:06:57 -0400 Subject: [PATCH] Add instructions for pytest asyncio-mode (#1392) --- docs/development_testing.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/development_testing.md b/docs/development_testing.md index 19372e32..808914df 100644 --- a/docs/development_testing.md +++ b/docs/development_testing.md @@ -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: ```shell -pytest ./tests/components// --cov=homeassistant.components. --cov-report term-missing -vv +pytest ./tests/components// --asyncio-mode=strict --cov=homeassistant.components. --cov-report term-missing -vv ``` ### Preventing linter errors