diff options
author | fett0 <fernando.gmaidana@gmail.com> | 2024-08-02 14:27:56 +0000 |
---|---|---|
committer | Viacheslav Hletenko <v.gletenko@vyos.io> | 2024-09-09 13:16:51 +0000 |
commit | 8461eea6c964f4a892028b6743d1bc9c5bcce2ff (patch) | |
tree | 776fc0335f3703e16876ad0ec35280aa1d099679 /smoketest/scripts/cli | |
parent | 06050d7a668bab79a27ddbec0a5f7b88868dc390 (diff) | |
download | vyos-1x-8461eea6c964f4a892028b6743d1bc9c5bcce2ff.tar.gz vyos-1x-8461eea6c964f4a892028b6743d1bc9c5bcce2ff.zip |
OPENVPN: T6555: fix name to bridge
(cherry picked from commit 0162a27952d2166583a9e6aee2cd77b9c693062b)
Diffstat (limited to 'smoketest/scripts/cli')
-rwxr-xr-x | smoketest/scripts/cli/test_interfaces_openvpn.py | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/smoketest/scripts/cli/test_interfaces_openvpn.py b/smoketest/scripts/cli/test_interfaces_openvpn.py index 422fe4ceb..9b77a6481 100755 --- a/smoketest/scripts/cli/test_interfaces_openvpn.py +++ b/smoketest/scripts/cli/test_interfaces_openvpn.py @@ -640,8 +640,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) @@ -651,9 +649,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) @@ -662,7 +658,7 @@ class TestInterfacesOpenVPN(VyOSUnitTestSHIM.TestCase): self.assertIn(f'dh /run/openvpn/{vtun_if}_dh.pem', config) # check that no interface remained after deleting them - self.cli_delete((['interfaces', 'bridge', br_if, 'member', 'interface', vtun_if]) + self.cli_delete(['interfaces', 'bridge', br_if, 'member', 'interface', vtun_if]) self.cli_delete(base_path) self.cli_commit() |