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
Joost Lekkerkerker
6bb4e7d62c
Bump ruff to 0.3.4 ( #112690 )
...
Co-authored-by: Sid <27780930+autinerd@users.noreply.github.com>
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-03-26 00:02:16 +01:00
Marc Mueller
38adfbf1a3
Add empty line after module docstring [tests a-e] ( #112708 )
2024-03-08 08:50:25 -05:00
Joost Lekkerkerker
f44215d286
Use snapshot assertion for Brother diagnostics test ( #98904 )
2023-08-24 11:19:16 +02:00
Maciej Bieniek
64e39c9c81
Bump brother to 2.2.0 ( #88618 )
2023-02-22 20:28:58 +01:00
epenet
a79be493e5
Adjust hass_client type hint in integration tests ( #86954 )
...
* Adjust hass_client type hint in integration tests
* Adjust hass_client_no_auth
* Fix rebase
2023-02-02 16:29:57 -05:00
epenet
c5a56dab42
Apply hass-relative-import to tests (a-c) ( #78728 )
2022-09-19 09:48:25 +02:00
Maciej Bieniek
721fddc016
Bump `brother` backend library ( #78072 )
...
* Update integration for a new library
* Update tests
* Add unique_id migration
* Update integration and tests for lib 2.0.0
* Improve test coverage
* Improve typing in tests
2022-09-18 23:28:17 +02:00
Maciej Bieniek
9e2a8a5b09
Add diagnostics to Brother integration ( #64478 )
...
* Add diagnostics
* Suggested changes
* Fix tests
2022-01-21 17:23:42 +01:00