Enable pylint unnecessary-pass (#33650)
* Enable pylint unnecessary-pass * Process review suggestions * Fix smhi tests
This commit is contained in:
1 parent
000ad256fb
commit
7653dc947a
79 files changed
-349
No files matched your search
@@ -74,11 +74,6 @@ async def test_setup_hass(hass: HomeAssistant, aioclient_mock) -> None:
|
||||
assert forecast[ATTR_FORECAST_CONDITION] == "partlycloudy"
|
||||
|
||||
|
||||
async def test_setup_plattform(hass):
|
||||
"""Test that setup platform does nothing."""
|
||||
assert await weather_smhi.async_setup_platform(hass, None, None) is None
|
||||
|
||||
|
||||
def test_properties_no_data(hass: HomeAssistant) -> None:
|
||||
"""Test properties when no API data available."""
|
||||
weather = weather_smhi.SmhiWeather("name", "10", "10")
|
||||
|
||||
Reference in new issue
Block a user