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