summaryrefslogtreecommitdiff
path: root/smoketest/scripts/cli/test_service_ssh.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-09-19 21:57:08 +0200
committerChristian Poessinger <christian@poessinger.com>2020-09-19 21:57:22 +0200
commit41a8c45c6b188646d6c6ac97bfaa2dffaffe1653 (patch)
tree562005b7e2b100f54dbd3dbfe9887b61a3ce6880 /smoketest/scripts/cli/test_service_ssh.py
parentd1c9ee33f25e45cea0d01f9685f99c960ed4d7f8 (diff)
downloadvyos-1x-41a8c45c6b188646d6c6ac97bfaa2dffaffe1653.tar.gz
vyos-1x-41a8c45c6b188646d6c6ac97bfaa2dffaffe1653.zip
smoketest: T2886: validate RADIUS configuration
Diffstat (limited to 'smoketest/scripts/cli/test_service_ssh.py')
-rwxr-xr-xsmoketest/scripts/cli/test_service_ssh.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/smoketest/scripts/cli/test_service_ssh.py b/smoketest/scripts/cli/test_service_ssh.py
index 1038b8775..79850fe44 100755
--- a/smoketest/scripts/cli/test_service_ssh.py
+++ b/smoketest/scripts/cli/test_service_ssh.py
@@ -27,7 +27,7 @@ base_path = ['service', 'ssh']
def get_config_value(key):
tmp = read_file(SSHD_CONF)
- tmp = re.findall(r'\n?{}\s+(.*)'.format(key), tmp)
+ tmp = re.findall(f'\n?{key}\s+(.*)', tmp)
return tmp
def is_service_running():