summaryrefslogtreecommitdiff
path: root/scripts/cli
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-02-09 18:42:39 +0100
committerChristian Poessinger <christian@poessinger.com>2020-02-09 18:42:39 +0100
commit86c87d5110d9ad602a91f887da3fa50d024fd7aa (patch)
tree904f1665d2365b72276606595cfb8743e0f5c064 /scripts/cli
parentc63bf6ea07009a60fe2d00c5ca2c2264710200a7 (diff)
downloadvyos-1x-86c87d5110d9ad602a91f887da3fa50d024fd7aa.tar.gz
vyos-1x-86c87d5110d9ad602a91f887da3fa50d024fd7aa.zip
ssh: add missing commit()
Diffstat (limited to 'scripts/cli')
-rwxr-xr-xscripts/cli/test_service_ssh.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/cli/test_service_ssh.py b/scripts/cli/test_service_ssh.py
index b5247d77a..e272872ea 100755
--- a/scripts/cli/test_service_ssh.py
+++ b/scripts/cli/test_service_ssh.py
@@ -40,6 +40,9 @@ class TestServiceSSH(unittest.TestCase):
""" Check if SSH service can be configured and runs """
self.session.set(base_path)
+ # commit changes
+ self.session.commit()
+
# Check for running process
self.assertTrue("sshd" in (p.name() for p in process_iter()))