d0b3f76a6f2b78e89b792d2880f3f873bee3eaf6,tests/components/climacell/conftest.py,,climacell_config_entry_update_fixture,#,27
Before Change
@pytest.fixture(name="climacell_config_entry_update")
def climacell_config_entry_update_fixture():
Mock valid climacell config entry setup.
with patch(
"homeassistant.components.climacell.ClimaCell.realtime",
return_value={},
), patch(
"homeassistant.components.climacell.ClimaCell.forecast_hourly",
return_value=[],
), patch(
"homeassistant.components.climacell.ClimaCell.forecast_daily",
return_value=[],
), patch(
"homeassistant.components.climacell.ClimaCell.forecast_nowcast",
return_value=[],
):
yield
After Change
return_value=json.loads(load_fixture("climacell/v3_forecast_nowcast.json")),
), patch(
"homeassistant.components.climacell.ClimaCellV4.realtime_and_all_forecasts",
return_value=json.loads(load_fixture("climacell/v4.json")),
):
yield
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: home-assistant/home-assistant
Commit Name: d0b3f76a6f2b78e89b792d2880f3f873bee3eaf6
Time: 2021-04-05
Author: 7243222+raman325@users.noreply.github.com
File Name: tests/components/climacell/conftest.py
Class Name:
Method Name: climacell_config_entry_update_fixture
Project Name: home-assistant/home-assistant
Commit Name: 6714392e9cbd6a493fca03610f86bef875d7cb22
Time: 2016-06-27
Author: paulus@paulusschoutsen.nl
File Name: tests/components/sensor/test_yr.py
Class Name: TestSensorYr
Method Name: test_default_setup
Project Name: home-assistant/home-assistant
Commit Name: 6714392e9cbd6a493fca03610f86bef875d7cb22
Time: 2016-06-27
Author: paulus@paulusschoutsen.nl
File Name: tests/components/sensor/test_yr.py
Class Name: TestSensorYr
Method Name: test_custom_setup