diff options
-rwxr-xr-x | psutil/tests/test_bsd.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/psutil/tests/test_bsd.py b/psutil/tests/test_bsd.py index e24697c5..502aec17 100755 --- a/psutil/tests/test_bsd.py +++ b/psutil/tests/test_bsd.py @@ -477,6 +477,9 @@ class FreeBSDSystemTestCase(PsutilTestCase): # --- CPU info + def test_cpu_info_model(self): + self.assertEqual(psutil.cpu_info()["model"], sysctl("hw.model")) + @unittest.skipIf(not which('cpuid'), "cpuid cmd not available") def test_cpu_info_vendor(self): out = sh("cpuid") |