Mercurial > piecrust2
comparison tests/mockutil.py @ 346:89cc71928f6a
tests: Remove debug output.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Wed, 15 Apr 2015 16:38:55 -0700 |
parents | 8511137d1b62 |
children | c484e1ec9150 |
comparison
equal
deleted
inserted
replaced
345:ad3e6496f5c3 | 346:89cc71928f6a |
---|---|
322 def _remove(self, path): | 322 def _remove(self, path): |
323 path = os.path.normpath(path) | 323 path = os.path.normpath(path) |
324 self._fs._deleteEntry(path) | 324 self._fs._deleteEntry(path) |
325 | 325 |
326 def _exists(self, path): | 326 def _exists(self, path): |
327 print("Checking for %s" % path) | |
328 path = os.path.normpath(path) | 327 path = os.path.normpath(path) |
329 if path.startswith(resources_path): | 328 if path.startswith(resources_path): |
330 return self._originals['os.path.isdir'](path) | 329 return self._originals['os.path.isdir'](path) |
331 e = self._getFsEntry(path) | 330 e = self._getFsEntry(path) |
332 return e is not None | 331 return e is not None |