From 0e38e372c13f6f7e004c38436f71d285378a6e35 Mon Sep 17 00:00:00 2001 From: DDSRem <73049927+DDSRem@users.noreply.github.com> Date: Tue, 9 Jul 2024 15:21:13 +0800 Subject: [PATCH] fix: restart no test failed --- test_runlike.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test_runlike.py b/test_runlike.py index 29d2a46..a4e45f8 100644 --- a/test_runlike.py +++ b/test_runlike.py @@ -84,7 +84,7 @@ def test_restart_with_max(self): def test_restart_not_present(self): # If the restart policy is not set, the default value is no. # self.dont_expect_substr('--restart', 4) - self.expect_substr('--restart=no \\') + self.expect_substr('--restart=no \\', 4) def test_hostname(self): self.expect_substr('--hostname=Essos \\')