core/tests
Jan Bouwhuis 61114d8328
Install and start Mosquitto MQTT broker add on from MQTT config flow (#124106)
* Opt in to install Mosquitto broker add-on in MQTT config flow

* rephrase

* Tests with supervisor and running add-on

* Complete tests for success flows

* Also set up entry in success flow

* Use realistic names for addon and broker

* Finetuning and fail test cases

* Spelling

* Improve translation strings

* Update addon docstr

Co-authored-by: Erik Montnemery <erik@montnemery.com>

* Raise AddonError if add-on does not start

* Only show the option to use the add-on

* Simplify flow, rework and cleanup

* Revert unrelated cleanup, process suggestion

* Move ADDON_SLUG const to addon module

* Move fixture to component level

* Move back supervisor fixture

* Move addon_setup_time_fixture and superfixe to config flow model tests

* Refactor hassio fixture

* Rename helpers as they are no fixtures, remove fixture from their names

---------

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2024-08-22 09:07:45 +02:00
..
auth Update import locations in tests (#122216) 2024-07-20 11:16:04 +02:00
components Install and start Mosquitto MQTT broker add on from MQTT config flow (#124106) 2024-08-22 09:07:45 +02:00
fixtures
hassfest
helpers Add async friendly helper for validating config schemas (#123800) 2024-08-17 11:01:49 +02:00
non_packaged_scripts
pylint
resources
script
scripts Add missing hass type in tests/scripts (#124042) 2024-08-16 13:21:39 +02:00
snapshots Add created_at/modified_at to config entries (#122456) 2024-07-29 22:08:46 +02:00
test_util Add missing hass type in tests/test_util (#124043) 2024-08-16 13:43:43 +02:00
testing_config
util Use BaseEventLoop._thread_id instead of a custom attribute (#124054) 2024-08-17 10:59:39 +02:00
__init__.py
common.py Remove test helper get_test_home_assistant (#124177) 2024-08-19 10:23:25 +02:00
conftest.py Update sensor recorder tests to async (#124061) 2024-08-18 13:20:58 -05:00
ignore_uncaught_exceptions.py
patch_recorder.py Fail tests if recorder creates nested sessions (#122579) 2024-07-25 21:18:55 +02:00
patch_time.py
ruff.toml
syrupy.py Add created_at/modified_at to config entries (#122456) 2024-07-29 22:08:46 +02:00
test_backports.py
test_block_async_io.py Add additional blocking operations to loop protection (#124017) 2024-08-16 09:03:24 -05:00
test_bootstrap.py Add missing hass type in tests/*.py (#124048) 2024-08-18 15:42:41 +02:00
test_circular_imports.py
test_config.py Add missing hass type in tests/*.py (#124048) 2024-08-18 15:42:41 +02:00
test_config_entries.py Add missing hass type in tests/*.py (#124048) 2024-08-18 15:42:41 +02:00
test_const.py Fix missing type[..] annotation in tests (#122217) 2024-07-20 11:11:16 +02:00
test_core.py Replace pylint broad-exception-raised rule with ruff (#123021) 2024-08-02 12:24:03 +02:00
test_data_entry_flow.py
test_exceptions.py
test_loader.py Add missing hass type in tests/*.py (#124048) 2024-08-18 15:42:41 +02:00
test_main.py
test_requirements.py Remove recorder from websocket_api after dependencies (#122422) 2024-07-22 16:50:05 -05:00
test_runner.py Replace pylint broad-exception-raised rule with ruff (#123021) 2024-08-02 12:24:03 +02:00
test_setup.py Add missing hass type in tests/*.py (#124048) 2024-08-18 15:42:41 +02:00
test_test_fixtures.py
typing.py