(self, path, msg='', func=os.stat)
| 188 | 'The file %s should exist, but it does not. %s' % (path, msg)) |
| 189 | |
| 190 | def assertNotExists(self, path, msg='', func=os.stat): |
| 191 | if self.check_exists(func, getTestPath(path)): |
| 192 | raise AssertionError( |
| 193 | 'The file %s should not exist, but it does. %s' % (path, msg)) |
| 194 | |
| 195 | def assertLExists(self, path, msg=''): |
| 196 | self.assertExists(path, msg, os.lstat) |