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

Method test_get_apt_size

tests/TestUnix.py:185–189  ·  view source on GitHub ↗

Unit test for method get_apt_size()

(self)

Source from the content-addressed store, hash-verified

183 @unittest.skipUnless(exe_exists('apt-get'),
184 'skipping tests for unavailable apt-get')
185 def test_get_apt_size(self):
186 """Unit test for method get_apt_size()"""
187 size = get_apt_size()
188 self.assertIsInteger(size)
189 self.assertGreaterEqual(size, 0)
190
191 @common.skipIfWindows
192 def test_get_distribution_name_version(self):

Callers

nothing calls this directly

Calls 2

get_apt_sizeFunction · 0.90
assertIsIntegerMethod · 0.80

Tested by

no test coverage detected