(self, path1)
| 106 | assert newpath.dirpath("x") == path1.join("x") |
| 107 | |
| 108 | def test_newbasename(self, path1): |
| 109 | newpath = path1.join("samplefile") |
| 110 | newbase = newpath.new(basename="samplefile2") |
| 111 | assert newbase.basename == "samplefile2" |
| 112 | assert newbase.dirpath() == newpath.dirpath() |
| 113 | |
| 114 | def test_not_exists(self, path1): |
| 115 | assert not path1.join("does_not_exist").check() |