tests/components/google/conftest.py
def storage() -> YieldFixture[FakeStorage]:
    """Fixture to populate an existing token file for read on startup."""
    storage = FakeStorage()
    with patch("homeassistant.components.google.Storage", return_value=storage):
        yield storage
Fixture to populate an existing token file for read on startup.
Fixture to populate an existing token file for read on startup.
Fixture to populate an existing token file for read on startup .
def storage() -> YieldFixture[FakeStorage]:
    storage = FakeStorage()
    with patch("homeassistant.components.google.Storage", return_value=storage):
        yield storage
def storage ( ) -> YieldFixture [ FakeStorage ] : storage = FakeStorage ( ) with patch ( "homeassistant.components.google.Storage" , return_value = storage ) : yield storage
Fixture to populate an existing token file for read on startup.
Fixture to populate an existing token file for read on startup .
"""Fixture to populate an existing token file for read on startup."""