Skip to content

Commit

Permalink
test: fix directory.
Browse files Browse the repository at this point in the history
  • Loading branch information
vpa1977 committed Aug 29, 2024
1 parent ae8b0c8 commit af1a4d2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/integration/plugins/test_jlink_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@ def create_test_project(base, parts) -> Project:
def test_jlink_plugin_base(tmp_path, run_lifecycle):
# pylint: disable=line-too-long
# chisel snap is confined to user home
user_home_tmp = Path(f"{os.path.expanduser("~")}/{os.path.basename(tmp_path)}")
home = os.path.expanduser("~")
basename = os.path.basename(tmp_path)
user_home_tmp = Path(f"{home}/{basename}")
atexit.register(lambda: shutil.rmtree(user_home_tmp))
parts = {
"my-part": {
Expand Down

0 comments on commit af1a4d2

Please sign in to comment.