We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c701bcd commit d5f723fCopy full SHA for d5f723f
tests/test_main.py
@@ -9,6 +9,7 @@
9
10
from . import fixtures
11
from ._context import suppress
12
+from ._path import Symlink
13
from importlib_metadata import (
14
Distribution,
15
EntryPoint,
@@ -419,14 +420,10 @@ def main():
419
420
print("hello world")
421
""",
422
},
- # "symlinked" -> ".symlink.target", see below
423
+ "symlinked": Symlink(".symlink.target"),
424
}
425
426
fixtures.build_files(files, self.site_dir)
- target = self.site_dir / ".symlink.target"
427
- assert target.is_dir()
428
- (self.site_dir / "symlinked").symlink_to(target, target_is_directory=True)
429
-
430
assert packages_distributions()['symlinked'] == ['symlinked-pkg']
431
432
0 commit comments