From d2e0b0417c84ca39621e61da852c4402a7e0f4e5 Mon Sep 17 00:00:00 2001 From: Mike Degatano Date: Thu, 10 Feb 2022 11:33:47 -0500 Subject: [PATCH] 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 --- tests/resolution/evaluation/test_evaluate_source_mods.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/resolution/evaluation/test_evaluate_source_mods.py b/tests/resolution/evaluation/test_evaluate_source_mods.py index 9ba0adeac..bb2a8cf74 100644 --- a/tests/resolution/evaluation/test_evaluate_source_mods.py +++ b/tests/resolution/evaluation/test_evaluate_source_mods.py @@ -14,7 +14,7 @@ async def test_evaluation(coresys: CoreSys): """Test evaluation.""" with patch( "supervisor.resolution.evaluations.source_mods._SUPERVISOR_SOURCE", - Path(os.getcwd()), + Path(f"{os.getcwd()}/supervisor"), ): sourcemods = EvaluateSourceMods(coresys) coresys.core.state = CoreState.RUNNING