From 06968696e3485f096afbaf245bdb26160d5b6b3e Mon Sep 17 00:00:00 2001 From: MacRimi Date: Sun, 18 Oct 2026 17:58:56 +0200 Subject: [PATCH] Update test_lynis_threshold_wording.py --- .github/scripts/tests/test_lynis_threshold_wording.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/scripts/tests/test_lynis_threshold_wording.py b/.github/scripts/tests/test_lynis_threshold_wording.py index 435432a9..ef62cd1e 100644 --- a/.github/scripts/tests/test_lynis_threshold_wording.py +++ b/.github/scripts/tests/test_lynis_threshold_wording.py @@ -110,7 +110,7 @@ class LynisThresholdContracts(unittest.TestCase): _, module = extract_function(APP / 'scripts/health_monitor.py', '_check_memory_comprehensive', owner='HealthMonitor') # The method is bound to an inert class, not the production constructor. self_obj = SimpleNamespace(state_history=defaultdict(list), MEMORY_DURATION=300, SWAP_CRITICAL_DURATION=300, - MEMORY_WARNING=80, SWAP_HIGH_PERCENT=80, AVAILABLE_MIN_PERCENT=20) + MEMORY_WARNING=80, MEMORY_CRITICAL=90, SWAP_HIGH_PERCENT=80, AVAILABLE_MIN_PERCENT=20) memory = SimpleNamespace(percent=50, available=10, total=100) swap = SimpleNamespace(percent=90, used=90, total=100) namespace = {'Dict': dict, 'Any': object, 'psutil': SimpleNamespace(virtual_memory=lambda: memory, swap_memory=lambda: swap),