Allow IntegrationNotFound when checking config in safe mode (#56283)

Co-authored-by: Joakim Sørensen <hi@ludeeus.dev>
This commit is contained in:
J. Nick Koston 2021-09-17 19:25:50 -10:00 committed by GitHub
parent bad6b2f7f5
commit eb98ac9415
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 64 additions and 5 deletions

View file

@ -74,7 +74,7 @@ def test_component_platform_not_found(mock_is_file, loop):
assert res["components"].keys() == {"homeassistant"}
assert res["except"] == {
check_config.ERROR_STR: [
"Component error: beer - Integration 'beer' not found."
"Integration error: beer - Integration 'beer' not found."
]
}
assert res["secret_cache"] == {}