(self)
| 2095 | self.assertFalse(os.path.exists(os_helper.TESTFN)) |
| 2096 | |
| 2097 | def test_remove_partial(self): |
| 2098 | dira = os.path.join(os_helper.TESTFN, 'dira') |
| 2099 | os.mkdir(dira) |
| 2100 | dirb = os.path.join(dira, 'dirb') |
| 2101 | os.mkdir(dirb) |
| 2102 | create_file(os.path.join(dira, 'file.txt')) |
| 2103 | os.removedirs(dirb) |
| 2104 | self.assertFalse(os.path.exists(dirb)) |
| 2105 | self.assertTrue(os.path.exists(dira)) |
| 2106 | self.assertTrue(os.path.exists(os_helper.TESTFN)) |
| 2107 | |
| 2108 | def test_remove_nothing(self): |
| 2109 | dira = os.path.join(os_helper.TESTFN, 'dira') |
nothing calls this directly
no test coverage detected