Skip to content

Commit

Permalink
Fix unit test bis
Browse files Browse the repository at this point in the history
  • Loading branch information
yogh333 committed Jul 25, 2024
1 parent 50e06a4 commit 10d0572
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/unit/utils/test_misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 10d0572

Please sign in to comment.