core/tests/components/brother
Maciej Bieniek 826f6c6f7e
Refactor tests for Brother integration (#117377)
* 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>
2024-05-19 20:41:47 +02:00
..
snapshots Refactor tests for Brother integration (#117377) 2024-05-19 20:41:47 +02:00
__init__.py Refactor tests for Brother integration (#117377) 2024-05-19 20:41:47 +02:00
conftest.py Refactor tests for Brother integration (#117377) 2024-05-19 20:41:47 +02:00
test_config_flow.py Refactor tests for Brother integration (#117377) 2024-05-19 20:41:47 +02:00
test_diagnostics.py Refactor tests for Brother integration (#117377) 2024-05-19 20:41:47 +02:00
test_init.py Refactor tests for Brother integration (#117377) 2024-05-19 20:41:47 +02:00
test_sensor.py Refactor tests for Brother integration (#117377) 2024-05-19 20:41:47 +02:00