MCPcopy Create free account
hub / github.com/bleachbit/bleachbit / assertIsString

Method assertIsString

tests/common.py:149–150  ·  view source on GitHub ↗
(self, obj, msg='')

Source from the content-addressed store, hash-verified

147 self.assertIsInstance(obj, int, msg)
148
149 def assertIsString(self, obj, msg=''):
150 self.assertIsInstance(obj, str, msg)
151
152 def assertIsBytes(self, obj, msg=''):
153 self.assertIsInstance(obj, bytes, msg)

Callers 12

test_cleaners_listMethod · 0.80
test_pot_fragmentMethod · 0.80
validate_resultFunction · 0.80
test_get_versionMethod · 0.80
test_get_nameMethod · 0.80
test_get_descriptionMethod · 0.80
test_get_optionsMethod · 0.80
test_expand_vars_userMethod · 0.80
test_get_user_agentMethod · 0.80

Calls

no outgoing calls

Tested by 11

test_cleaners_listMethod · 0.64
test_pot_fragmentMethod · 0.64
test_get_versionMethod · 0.64
test_get_nameMethod · 0.64
test_get_descriptionMethod · 0.64
test_get_optionsMethod · 0.64
test_expand_vars_userMethod · 0.64
test_get_user_agentMethod · 0.64