diff options
author | Giampaolo Rodola <g.rodola@gmail.com> | 2016-09-21 12:01:51 +0200 |
---|---|---|
committer | Giampaolo Rodola <g.rodola@gmail.com> | 2016-09-21 12:01:51 +0200 |
commit | e51dde4ae3ab11b383c41b4bb03d9e37413be890 (patch) | |
tree | 079d8dcb2a38276177d6eb526a78c2b8241d8d32 | |
parent | a19c904366bf6997e9397f2cb3c6eab3138ab356 (diff) | |
download | psutil-e51dde4ae3ab11b383c41b4bb03d9e37413be890.tar.gz |
rename
-rw-r--r-- | psutil/tests/test_linux.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/psutil/tests/test_linux.py b/psutil/tests/test_linux.py index 0e6635ef..202829f5 100644 --- a/psutil/tests/test_linux.py +++ b/psutil/tests/test_linux.py @@ -257,7 +257,7 @@ class TestSystemVirtualMemory(unittest.TestCase): self.assertEqual(ret.active, 0) self.assertEqual(ret.inactive, 0) - def test_calculate_avail_old_kernels(self): + def test_avail_old_percent(self): # Make sure that our calculation of avail mem for old kernels # is off by max 2%. from psutil._pslinux import calculate_avail_vmem @@ -275,7 +275,7 @@ class TestSystemVirtualMemory(unittest.TestCase): diff_percent = abs(a - b) / a * 100 self.assertLess(diff_percent, 2) - def test_avail_comes_from_kernel(self): + def test_avail_old_comes_from_kernel(self): # Make sure "MemAvailable:" coluimn is used instead of relying # on our internal algorithm to calculate avail mem. def open_mock(*args, **kwargs): |