(self, path1)
| 415 | assert b.isdir() |
| 416 | |
| 417 | def test_mkdir_and_remove(self, path1): |
| 418 | tmpdir = path1 |
| 419 | with pytest.raises(error.EEXIST): |
| 420 | tmpdir.mkdir(class="st">"sampledir") |
| 421 | new = tmpdir.join(class="st">"mktest1") |
| 422 | new.mkdir() |
| 423 | assert new.check(dir=1) |
| 424 | new.remove() |
| 425 | |
| 426 | new = tmpdir.mkdir(class="st">"mktest") |
| 427 | assert new.check(dir=1) |
| 428 | new.remove() |
| 429 | assert tmpdir.join(class="st">"mktest") == new |
| 430 | |
| 431 | def test_move_file(self, path1): |
| 432 | p = path1.join(class="st">"samplefile") |