MCPcopy Index your code
hub / github.com/bleachbit/bleachbit / assertNotExists

Method assertNotExists

tests/common.py:190–193  ·  view source on GitHub ↗
(self, path, msg='', func=os.stat)

Source from the content-addressed store, hash-verified

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)

Callers 15

assertNotLExistsMethod · 0.95
assertCondExistsMethod · 0.95
_test_encodingMethod · 0.80
test_make_sourceMethod · 0.80
_context_helperMethod · 0.80
test_debug_logMethod · 0.80
test_encodingMethod · 0.80
test_deleteMethod · 0.80

Calls 2

check_existsMethod · 0.95
getTestPathFunction · 0.85

Tested by 15

_test_encodingMethod · 0.64
test_make_sourceMethod · 0.64
_context_helperMethod · 0.64
test_debug_logMethod · 0.64
test_encodingMethod · 0.64
test_deleteMethod · 0.64
test_shredMethod · 0.64