I want to test if Python code is working with symlinks properly. How can I create symlinks (e.g. equivalent to how os.symlink()
can be used) in a faked filesystem based on pathlib.Path
in a Python2/3 compatible way?
I want to test if Python code is working with symlinks properly. How can I create symlinks (e.g. equivalent to how os.symlink()
can be used) in a faked filesystem based on pathlib.Path
in a Python2/3 compatible way?