From 10d0572e76e6be19015b0f9a3aadedeb47e9be92 Mon Sep 17 00:00:00 2001 From: GroM Date: Thu, 25 Jul 2024 09:17:37 +0200 Subject: [PATCH] Fix unit test bis --- tests/unit/utils/test_misc.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/unit/utils/test_misc.py b/tests/unit/utils/test_misc.py index 7fdac5c4..5d248fd7 100644 --- a/tests/unit/utils/test_misc.py +++ b/tests/unit/utils/test_misc.py @@ -44,7 +44,8 @@ def test_find_application_ok_rust(self): os.chdir(dir_path) cmd = ["cargo", "new", appname] subprocess.check_output(cmd) - tmp_dir = (appname / "target" / device / "release") + app_path = Path(appname) + tmp_dir = (app_path / "target" / device / "release") tmp_dir.mkdir(parents=True, exist_ok=True) expected = tmp_dir / appname expected.touch()