1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 21:06:19 +00:00

Enable Ruff PT022 (#86792)

* Enable Ruff PT022

* Adjust found cases
This commit is contained in:
Franck Nijhof
2023-01-27 13:57:06 +01:00
committed by GitHub
parent 8c993116e1
commit ef800335fb
50 changed files with 79 additions and 88 deletions

View File

@@ -69,7 +69,7 @@ def mock_nextbus_predictions(mock_nextbus):
instance = mock_nextbus.return_value
instance.get_predictions_for_multi_stops.return_value = BASIC_RESULTS
yield instance.get_predictions_for_multi_stops
return instance.get_predictions_for_multi_stops
@pytest.fixture