Python: Expand pathlib tests

This commit is contained in:
Rasmus Wriedt Larsen
2022-04-22 11:00:44 +02:00
parent 059dea713d
commit bcaba45202

View File

@@ -21,3 +21,15 @@ o(name) # $ getAPathArgument=name
wb = p.write_bytes
wb(b"hello") # $ getAPathArgument=p fileWriteData=b"hello"
p.link_to("target") # $ getAPathArgument=p MISSING: getAPathArgument="target"
p.link_to(target="target") # $ getAPathArgument=p MISSING: getAPathArgument="target"
p.samefile("other_path") # $ getAPathArgument=p MISSING: getAPathArgument="other_path"
p.samefile(other_path="other_path") # $ getAPathArgument=p MISSING: getAPathArgument="other_path"
p.rename("target") # $ getAPathArgument=p MISSING: getAPathArgument="target"
p.rename(target="target") # $ getAPathArgument=p MISSING: getAPathArgument="target"
p.replace("target") # $ getAPathArgument=p MISSING: getAPathArgument="target"
p.replace(target="target") # $ getAPathArgument=p MISSING: getAPathArgument="target"