diff --git a/test/test_smsd.py b/test/test_smsd.py index 0355cd2a0..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(): @@ -126,7 +127,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