summaryrefslogtreecommitdiff
path: root/smoketest/scripts/cli/base_vyostest_shim.py
diff options
context:
space:
mode:
authorViacheslav Hletenko <seversss265@gmail.com>2025-03-23 19:06:08 +0200
committerGitHub <noreply@github.com>2025-03-23 19:06:08 +0200
commitc12bef0a9631f66d66aad67c05f324816d8b4b05 (patch)
treedbd389ff9464c69fa1e471e3e85264e6e97332d5 /smoketest/scripts/cli/base_vyostest_shim.py
parent3fee8ec30dce8f3987fe468d29109ed4e1bc492a (diff)
downloadvyos-1x-c12bef0a9631f66d66aad67c05f324816d8b4b05.tar.gz
vyos-1x-c12bef0a9631f66d66aad67c05f324816d8b4b05.zip
Revert "T6353: Add password complexity validation for system login user"revert-4390-feature/T6353-add-password-complexity-validation
Diffstat (limited to 'smoketest/scripts/cli/base_vyostest_shim.py')
-rw-r--r--smoketest/scripts/cli/base_vyostest_shim.py6
1 files changed, 1 insertions, 5 deletions
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