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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user