mirror of
https://github.com/jdejaegh/irm-kmi-ha.git
synced 2025-06-27 03:35:56 +02:00
Remove unused fixture
This commit is contained in:
parent
e53f9aded4
commit
9925808b44
1 changed files with 0 additions and 12 deletions
|
@ -160,18 +160,6 @@ def mock_exception_irm_kmi_api(request: pytest.FixtureRequest) -> Generator[None
|
||||||
yield irm_kmi
|
yield irm_kmi
|
||||||
|
|
||||||
|
|
||||||
@pytest.fixture()
|
|
||||||
def mock_image_irm_kmi_api(request: pytest.FixtureRequest) -> Generator[None, MagicMock, None]:
|
|
||||||
"""Return a mocked IrmKmi api client."""
|
|
||||||
|
|
||||||
with patch(
|
|
||||||
"custom_components.irm_kmi.coordinator.IrmKmiApiClient", autospec=True
|
|
||||||
) as irm_kmi_api_mock:
|
|
||||||
irm_kmi = irm_kmi_api_mock.return_value
|
|
||||||
irm_kmi.get_image.side_effect = patched
|
|
||||||
yield irm_kmi
|
|
||||||
|
|
||||||
|
|
||||||
@pytest.fixture()
|
@pytest.fixture()
|
||||||
def mock_image_and_nl_forecast_irm_kmi_api(request: pytest.FixtureRequest) -> Generator[None, MagicMock, None]:
|
def mock_image_and_nl_forecast_irm_kmi_api(request: pytest.FixtureRequest) -> Generator[None, MagicMock, None]:
|
||||||
"""Return a mocked IrmKmi api client."""
|
"""Return a mocked IrmKmi api client."""
|
||||||
|
|
Loading…
Add table
Reference in a new issue