mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-10 02:36:29 +00:00
Hash correct folder in source_mods tests (#3442)
Source mods test was corrected to start from `supervisor` folder within repo and not include tests. The patch here was still starting from the workspace directory since that's what it used to do
This commit is contained in:
parent
d4fd8f3f0d
commit
d2e0b0417c
@ -14,7 +14,7 @@ async def test_evaluation(coresys: CoreSys):
|
|||||||
"""Test evaluation."""
|
"""Test evaluation."""
|
||||||
with patch(
|
with patch(
|
||||||
"supervisor.resolution.evaluations.source_mods._SUPERVISOR_SOURCE",
|
"supervisor.resolution.evaluations.source_mods._SUPERVISOR_SOURCE",
|
||||||
Path(os.getcwd()),
|
Path(f"{os.getcwd()}/supervisor"),
|
||||||
):
|
):
|
||||||
sourcemods = EvaluateSourceMods(coresys)
|
sourcemods = EvaluateSourceMods(coresys)
|
||||||
coresys.core.state = CoreState.RUNNING
|
coresys.core.state = CoreState.RUNNING
|
||||||
|
Loading…
x
Reference in New Issue
Block a user