summaryrefslogtreecommitdiff
path: root/smoketest/scripts/cli/test_vpn_ipsec.py
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2025-04-25 21:05:14 +0200
committerChristian Breunig <christian@breunig.cc>2025-04-25 21:07:34 +0200
commitcce1a98074d944dd5ac1788af943352d512e4479 (patch)
treeaab2a4c094012b8b8f6c798797caec2840091ead /smoketest/scripts/cli/test_vpn_ipsec.py
parentdf2e9cbc2cbe04a6de0eedfe9154afc87bd3d45d (diff)
downloadvyos-1x-cce1a98074d944dd5ac1788af943352d512e4479.tar.gz
vyos-1x-cce1a98074d944dd5ac1788af943352d512e4479.zip
smoketest: T7400: fix unbound variable when checking VXLAN remote and group settings
FAIL: test_vxlan_group_remote_error (__main__.VXLANInterfaceTest.test_vxlan_group_remote_error) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/libexec/vyos/tests/smoke/cli/test_interfaces_vxlan.py", line 139, in test_vxlan_group_remote_error self.assertIn('Both group and remote cannot be specified', str(exception)) AssertionError: 'Both group and remote cannot be specified' not found in '[[interfaces vxlan vxlan60]] failed\nCommit failed\n' This happens because cm variable is accessed when no longer valid. Change behavior to match common smoketest style, check ConfigError exception - but do not check exception message. Fix the error and commit again.
Diffstat (limited to 'smoketest/scripts/cli/test_vpn_ipsec.py')
0 files changed, 0 insertions, 0 deletions