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

Method test_physical_free

tests/TestMemory.py:110–116  ·  view source on GitHub ↗

Test for method physical_free

(self)

Source from the content-addressed store, hash-verified

108
109 @common.skipIfWindows
110 def test_physical_free(self):
111 """Test for method physical_free"""
112 ret = physical_free()
113 self.assertIsInteger(
114 ret, 'physical_free() returns variable type %s' % type(ret))
115 self.assertGreater(physical_free(), 0)
116 report_free()
117
118 @common.skipIfWindows
119 def test_get_swap_size_linux(self):

Callers

nothing calls this directly

Calls 3

physical_freeFunction · 0.90
report_freeFunction · 0.90
assertIsIntegerMethod · 0.80

Tested by

no test coverage detected