From c12bef0a9631f66d66aad67c05f324816d8b4b05 Mon Sep 17 00:00:00 2001 From: Viacheslav Hletenko Date: Sun, 23 Mar 2025 19:06:08 +0200 Subject: Revert "T6353: Add password complexity validation for system login user" --- smoketest/scripts/cli/base_vyostest_shim.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'smoketest/scripts/cli/base_vyostest_shim.py') diff --git a/smoketest/scripts/cli/base_vyostest_shim.py b/smoketest/scripts/cli/base_vyostest_shim.py index f0674f187..edf940efd 100644 --- a/smoketest/scripts/cli/base_vyostest_shim.py +++ b/smoketest/scripts/cli/base_vyostest_shim.py @@ -94,18 +94,14 @@ class VyOSUnitTestSHIM: def cli_commit(self): if self.debug: print('commit') + self._session.commit() # During a commit there is a process opening commit_lock, and run() # returns 0 while run(f'sudo lsof -nP {commit_lock}') == 0: sleep(0.250) - # Return the output of commit - # Necessary for testing Warning cases - out = self._session.commit() # Wait for CStore completion for fast non-interactive commits sleep(self._commit_guard_time) - return out - def op_mode(self, path : list) -> None: """ Execute OP-mode command and return stdout -- cgit v1.2.3