Enable Ruff PT001 (#86730)

This commit is contained in:
Franck Nijhof 2023-01-26 18:05:05 +01:00 committed by GitHub
parent 7ed9967245
commit 62dcbe5258
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
27 changed files with 53 additions and 49 deletions

View file

@ -64,7 +64,7 @@ async def hass_(recorder_mock, hass):
return hass
@pytest.fixture()
@pytest.fixture
def set_utc(hass):
"""Set timezone to UTC."""
hass.config.set_time_zone("UTC")