Upgrade black to 20.8b1 (#39287)

This commit is contained in:
Franck Nijhof authored and GitHub committed 2020-08-27 13:56:20 +02:00
1 parent 0d7eec710c
commit 1c2ebdf307
574 files changed
+4389 -1725

No files matched your search

+12 -2
View File
@@ -356,7 +356,12 @@ async def test_state_matches_first_query_result_for_multiple_return(
@pytest.mark.parametrize(
"mock_client, config_ext, queries, set_query_mock",
[
(DEFAULT_API_VERSION, BASE_V1_CONFIG, BASE_V1_QUERY, _set_query_mock_v1,),
(
DEFAULT_API_VERSION,
BASE_V1_CONFIG,
BASE_V1_QUERY,
_set_query_mock_v1,
),
(API_VERSION_2, BASE_V2_CONFIG, BASE_V2_QUERY, _set_query_mock_v2),
],
indirect=["mock_client"],
@@ -577,7 +582,12 @@ async def test_connection_error_at_startup(
indirect=["mock_client"],
)
async def test_data_repository_not_found(
hass, caplog, mock_client, config_ext, queries, set_query_mock,
hass,
caplog,
mock_client,
config_ext,
queries,
set_query_mock,
):
"""Test sensor is not setup when bucket not available."""
set_query_mock(mock_client)