diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-10-31 19:33:10 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-10-31 19:33:10 +0100 |
commit | cbcfcd1bf76a69f8df70da7891a06e222fb23d29 (patch) | |
tree | 92f0e94311d5f61e17d083fec09e041080e5a118 /smoketest/scripts/cli/test_interfaces_openvpn.py | |
parent | 46ffcb5c5ea4f33989f75b778e52c6d894b29c68 (diff) | |
download | vyos-1x-cbcfcd1bf76a69f8df70da7891a06e222fb23d29.tar.gz vyos-1x-cbcfcd1bf76a69f8df70da7891a06e222fb23d29.zip |
smoketest: openvpn: fix testcase for server statement
After commit 7e546be921 ("openvpn: T2994: temporary revert to 1.2 crux behavior
for client pools") also adjust the testcase to not expect the "nopool" statement
on the server command.
Diffstat (limited to 'smoketest/scripts/cli/test_interfaces_openvpn.py')
-rwxr-xr-x | smoketest/scripts/cli/test_interfaces_openvpn.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/smoketest/scripts/cli/test_interfaces_openvpn.py b/smoketest/scripts/cli/test_interfaces_openvpn.py index d64e23c92..2dbad21cd 100755 --- a/smoketest/scripts/cli/test_interfaces_openvpn.py +++ b/smoketest/scripts/cli/test_interfaces_openvpn.py @@ -351,7 +351,7 @@ class TestInterfacesOpenVPN(unittest.TestCase): # IP pool configuration netmask = IPv4Network(subnet).netmask network = IPv4Network(subnet).network_address - self.assertIn(f'server {network} {netmask} nopool', config) + self.assertIn(f'server {network} {netmask}', config) self.assertTrue(process_named_running(PROCESS_NAME)) self.assertEqual(get_vrf(interface), vrf_name) |