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

Method assertIsInteger

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

Source from the content-addressed store, hash-verified

144 #
145
146 def assertIsInteger(self, obj, msg=''):
147 self.assertIsInstance(obj, int, msg)
148
149 def assertIsString(self, obj, msg=''):
150 self.assertIsInstance(obj, str, msg)

Callers 13

validate_resultFunction · 0.80
test_count_linux_swapMethod · 0.80
test_physical_freeMethod · 0.80
test_aptMethod · 0.80
test_get_apt_sizeMethod · 0.80
test_yum_cleanMethod · 0.80
test_dnf_cleanMethod · 0.80
test_pacman_cacheMethod · 0.80

Calls

no outgoing calls

Tested by 12

test_count_linux_swapMethod · 0.64
test_physical_freeMethod · 0.64
test_aptMethod · 0.64
test_get_apt_sizeMethod · 0.64
test_yum_cleanMethod · 0.64
test_dnf_cleanMethod · 0.64
test_pacman_cacheMethod · 0.64