mirror of
https://github.com/home-assistant/core.git
synced 2025-06-26 07:57:12 +00:00

* Refactor tests - step 1 * Remove fixture * Refactor test_init * Refactor test_diagnostics * Refactor test_config_flow * Increase test coverage * Cleaning * Cleaning * Check config entry state in test_async_setup_entry * Simplify patching * Use AsyncMock when patching --------- Co-authored-by: Maciej Bieniek <478555+bieniu@users.noreply.github.com>