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

Method test_count_linux_swap

tests/TestMemory.py:72–76  ·  view source on GitHub ↗

Test for method count_linux_swap

(self)

Source from the content-addressed store, hash-verified

70
71 @common.skipIfWindows
72 def test_count_linux_swap(self):
73 """Test for method count_linux_swap"""
74 n_swaps = count_swap_linux()
75 self.assertIsInteger(n_swaps)
76 self.assertTrue(0 <= n_swaps < 10)
77
78 @common.skipIfWindows
79 def test_physical_free_darwin(self):

Callers

nothing calls this directly

Calls 2

count_swap_linuxFunction · 0.90
assertIsIntegerMethod · 0.80

Tested by

no test coverage detected