Skip to content

A GPU task manager for Windows, Linux, and WSL: per-process VRAM, GPU activity, and LLM model/KV-cache insights (Windows AMD and NVIDIA).

Python

Fix test name typos (rapal -> rapl)

Martin Pluskale8f18b2e11c2
diff --git a/tests/test_drm.py b/tests/test_drm.py
index 56b64c0..1cf6479 100644
--- a/tests/test_drm.py
+++ b/tests/test_drm.py
@@ -1750,7 +1750,7 @@ class IntelCounterStatusTests(unittest.TestCase):
self.assertIn("performance counters", status)
self.assertIn("uncore", status)
- def test_hwmon_power_needs_no_rapal_reason(self):
+ def test_hwmon_power_needs_no_rapl_reason(self):
# A discrete card's hwmon sensor already answered: RAPL was never needed, so its
# failure must not be reported. (start() primes RAPL only for integrated cards.)
drm._INTEL_RAPL_FAIL = "denied"
@@ -1760,7 +1760,7 @@ class IntelCounterStatusTests(unittest.TestCase):
def test_all_present_is_silent(self):
self.assertEqual(drm.intel_counter_status(self._card(), None), "")
- def test_discrete_card_omits_rapal(self):
+ def test_discrete_card_omits_rapl(self):
drm._INTEL_PMU_STATE["/x/card1/device"] = {"fail": "denied"}
drm._INTEL_RAPL_FAIL = "denied"
with patch.object(drm, "_read", return_value="2"):