diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-09-19 21:57:08 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-09-19 21:57:22 +0200 |
commit | 41a8c45c6b188646d6c6ac97bfaa2dffaffe1653 (patch) | |
tree | 562005b7e2b100f54dbd3dbfe9887b61a3ce6880 /smoketest/scripts/cli/test_service_ssh.py | |
parent | d1c9ee33f25e45cea0d01f9685f99c960ed4d7f8 (diff) | |
download | vyos-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-x | smoketest/scripts/cli/test_service_ssh.py | 2 |
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(): |