summaryrefslogtreecommitdiff
path: root/smoketest/scripts/cli
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-06-25 19:38:50 +0200
committerChristian Poessinger <christian@poessinger.com>2021-06-25 19:40:06 +0200
commit6b7b19c93f90839549dd668116c4da2f38cfdc66 (patch)
treef62ad6702afe32a2bc41d1f3900051b7a78fca71 /smoketest/scripts/cli
parent3e9aab9adb12f00abfd7d163964e563fc93d5289 (diff)
downloadvyos-1x-6b7b19c93f90839549dd668116c4da2f38cfdc66.tar.gz
vyos-1x-6b7b19c93f90839549dd668116c4da2f38cfdc66.zip
openvpn: T1704: drop deprecated disable-ncp option
Diffstat (limited to 'smoketest/scripts/cli')
-rwxr-xr-xsmoketest/scripts/cli/test_interfaces_openvpn.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/smoketest/scripts/cli/test_interfaces_openvpn.py b/smoketest/scripts/cli/test_interfaces_openvpn.py
index 655ee770d..68c61b98c 100755
--- a/smoketest/scripts/cli/test_interfaces_openvpn.py
+++ b/smoketest/scripts/cli/test_interfaces_openvpn.py
@@ -76,16 +76,8 @@ class TestInterfacesOpenVPN(VyOSUnitTestSHIM.TestCase):
interface = 'vtun2000'
path = base_path + [interface]
self.cli_set(path + ['mode', 'client'])
-
- # check validate() - cannot specify both "encryption disable-ncp" and
- # "encryption ncp-ciphers" at the same time
- self.cli_set(path + ['encryption', 'disable-ncp'])
self.cli_set(path + ['encryption', 'ncp-ciphers', 'aes192gcm'])
- with self.assertRaises(ConfigSessionError):
- self.cli_commit()
- self.cli_delete(path + ['encryption', 'ncp-ciphers'])
-
# check validate() - cannot specify local-port in client mode
self.cli_set(path + ['local-port', '5000'])
with self.assertRaises(ConfigSessionError):