(self, path1)
| 83 | # assert par[:2] == [path1 / 'dirnoexist', path1] |
| 84 | |
| 85 | def test_basename_checks(self, path1): |
| 86 | newpath = path1.join("sampledir") |
| 87 | assert newpath.check(basename="sampledir") |
| 88 | assert newpath.check(notbasename="xyz") |
| 89 | assert newpath.basename == "sampledir" |
| 90 | |
| 91 | def test_basename(self, path1): |
| 92 | newpath = path1.join("sampledir") |