summaryrefslogtreecommitdiff
path: root/smoketest
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-08-05 20:22:25 +0200
committerChristian Breunig <christian@breunig.cc>2024-08-06 06:55:32 +0200
commit01da8d9cd91b9c35dcbbc9160f6377655d5c8983 (patch)
treeefc84054daa4a7a4170e6a935d65c62385e9df18 /smoketest
parenta075d17b37161d02e7e168f3cc6bba94d96cc256 (diff)
downloadvyos-1x-01da8d9cd91b9c35dcbbc9160f6377655d5c8983.tar.gz
vyos-1x-01da8d9cd91b9c35dcbbc9160f6377655d5c8983.zip
smoketest: T6555: openvpn: NameError: name 'elf' is not defined
(cherry picked from commit 9bd2c196fe238a38f4fd0977efd1727333e7770e)
Diffstat (limited to 'smoketest')
-rwxr-xr-xsmoketest/scripts/cli/test_interfaces_openvpn.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/smoketest/scripts/cli/test_interfaces_openvpn.py b/smoketest/scripts/cli/test_interfaces_openvpn.py
index 48ea318ef..d24ce831c 100755
--- a/smoketest/scripts/cli/test_interfaces_openvpn.py
+++ b/smoketest/scripts/cli/test_interfaces_openvpn.py
@@ -656,8 +656,6 @@ class TestInterfacesOpenVPN(VyOSUnitTestSHIM.TestCase):
self.cli_commit()
-
-
config_file = f'/run/openvpn/{vtun_if}.conf'
config = read_file(config_file)
self.assertIn(f'dev {vtun_if}', config)
@@ -667,9 +665,7 @@ class TestInterfacesOpenVPN(VyOSUnitTestSHIM.TestCase):
self.assertIn(f'data-ciphers AES-192-CBC', config)
self.assertIn(f'mode server', config)
self.assertIn(f'server-bridge {gw_subnet} {mask_subnet} {start_subnet} {stop_subnet}', config)
- elf.assertIn(f'keepalive 5 25', config)
-
-
+ self.assertIn(f'keepalive 5 25', config)
# TLS options
self.assertIn(f'ca /run/openvpn/{vtun_if}_ca.pem', config)