diff --git a/tests/conftest.py b/tests/conftest.py index 05def2509e3..fefd2a28a22 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -360,10 +360,7 @@ async def setup_integration(hass: HomeAssistant, check_report_issue: None) -> No async def check_report_issue() -> None: """Finish things up.""" yield - # Issues may be created because hacs accesses hass.components, hass.helpers and - # calls async_show_progress without passing a progress task - allowed = [0, 1, 2, 3] if AwesomeVersion(HA_VERSION) > "2023.6.0" else [0] - if (times := len(_async_suggest_report_issue_mock_call_tracker)) not in allowed: + if (times := len(_async_suggest_report_issue_mock_call_tracker)) != 0: raise AssertionError( f"homeassistant.loader.async_suggest_report_issue has been called {times} times" )