Skip to content

Commit

Permalink
Update test to cover nonstandard name
Browse files Browse the repository at this point in the history
  • Loading branch information
adamant-pwn authored Nov 18, 2024
1 parent 673d769 commit 06a88d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/features/test_preparation_checks.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def test_symlinks_within_dir_only(default_checks: Dict[str, CmdBasedCheck], tmpd
myfile = Path(tmpdir, 'myfile')
myfile.touch()

mylink = Path(tmpdir, 'mylink')
mylink = Path(tmpdir, 'mylink (1)')
mylink.symlink_to(myfile.relative_to(mylink.parent))

mylink2 = Path(tmpdir, 'mylink2')
Expand Down Expand Up @@ -98,4 +98,4 @@ def test_no_duplicates(default_checks: Dict[str, CmdBasedCheck], tmpdir):
myfile_link = Path(tmpdir, 'myfile_link')
os.link(myfile, myfile_link)

assert not check.run(tmpdir)
assert not check.run(tmpdir)

0 comments on commit 06a88d0

Please sign in to comment.