Skip to content

Commit

Permalink
ulwgl_test: update link targets in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
R1kaB3rN committed Mar 1, 2024
1 parent 594e79f commit 6348965
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ULWGL/ulwgl_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ def test_update_ulwgl_empty(self):
if file.name == "ulwgl-run":
self.assertEqual(
self.test_compat.joinpath("ULWGL-Launcher", "ulwgl-run").readlink(),
Path("../../../ULWGL/ulwgl-run"),
Path("../../../ULWGL/ulwgl_run.py"),
"Expected both symlinks to point to same dest",
)
continue
Expand Down Expand Up @@ -448,7 +448,7 @@ def test_update_ulwgl(self):
self.test_compat.joinpath("ULWGL-Launcher").mkdir()
for file in runner_files:
if file == "ulwgl-run":
self.test_compat.joinpath("ulwgl-run").symlink_to("../../../ulwgl-run")
self.test_compat.joinpath("ulwgl-run").symlink_to("../../../ulwgl_run.py")
else:
with self.test_compat.joinpath(file).open(mode="w") as filer:
filer.write("foo")
Expand Down Expand Up @@ -564,7 +564,7 @@ def test_update_ulwgl(self):
if file.name == "ulwgl-run":
self.assertEqual(
self.test_compat.joinpath("ULWGL-Launcher", "ulwgl-run").readlink(),
Path("../../../ULWGL/ulwgl-run"),
Path("../../../ULWGL/ulwgl_run.py"),
"Expected both symlinks to point to same dest",
)
continue
Expand Down

0 comments on commit 6348965

Please sign in to comment.