1
0
mirror of https://github.com/home-assistant/supervisor.git synced 2025-12-25 04:46:25 +00:00

Migrate to pyproject.toml where possible (#4770)

* Migrate to pyproject.toml where possible

* Share requirements and fix version import

* Fix issues with timezone in tests
This commit is contained in:
Mike Degatano
2023-12-29 05:46:01 -05:00
committed by GitHub
parent 6c66a7ba17
commit 5baf19f7a3
8 changed files with 137 additions and 111 deletions

View File

@@ -15,7 +15,7 @@ async def test_evaluation(coresys: CoreSys):
assert agent.reason not in coresys.resolution.unsupported
coresys._host = MagicMock()
coresys._host = MagicMock(info=MagicMock(timezone=None))
coresys.host.features = [HostFeature.HOSTNAME]
await agent()