From b795281afe261fb92005dcebf7a8bee893d0056c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Thu, 5 Feb 2026 10:35:04 +0100 Subject: [PATCH 1/2] Apply suggested fix to test/test_smsd.py from Copilot Autofix Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com> --- test/test_smsd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_smsd.py b/test/test_smsd.py index 0355cd2a0..5b0ad9a1d 100644 --- a/test/test_smsd.py +++ b/test/test_smsd.py @@ -126,7 +126,7 @@ def test_smsd(self) -> None: # Show SMSD status retries = 0 - while retries < 2: + while retries < MAX_STATUS_RETRIES: status = smsd.GetStatus() if status["Sent"] >= 2: break From 5b1e92cb359eafe440c7e5657880ef4a617e6615 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Thu, 5 Feb 2026 11:39:45 +0100 Subject: [PATCH 2/2] Apply suggestion from @nijel --- test/test_smsd.py | 1 + 1 file changed, 1 insertion(+) diff --git a/test/test_smsd.py b/test/test_smsd.py index 5b0ad9a1d..d8edf40e9 100644 --- a/test/test_smsd.py +++ b/test/test_smsd.py @@ -43,6 +43,7 @@ "SMSC": {"Location": 1}, "Number": "1234567890", } +MAX_STATUS_RETRIES = 2 def get_script():