aboutsummaryrefslogtreecommitdiffstats
path: root/test/template_ipsec.py
diff options
context:
space:
mode:
authorDmitry Valter <d-valter@yandex-team.com>2024-03-11 10:38:46 +0000
committerDave Wallace <dwallacelf@gmail.com>2024-07-12 15:43:24 +0000
commit34fa0ce8f70a341df432b0baa3deaa1e87c71b95 (patch)
treee9a282b8376dd6aa7fd904238768f77df137b35a /test/template_ipsec.py
parent7b7bc045f83d0094aa927bfd44d1ac157005a34c (diff)
tests: skip more excluded plugin tests
Check and skip VPP_EXCLUDED_PLUGINS tests for most of plugins. Type: improvement Signed-off-by: Dmitry Valter <d-valter@yandex-team.com> Change-Id: I23fd3666729251c639aa8da72a676058e3f5bb4e
Diffstat (limited to 'test/template_ipsec.py')
-rw-r--r--test/template_ipsec.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/template_ipsec.py b/test/template_ipsec.py
index 7953f603287..d5ef023cb1b 100644
--- a/test/template_ipsec.py
+++ b/test/template_ipsec.py
@@ -24,6 +24,7 @@ from vpp_ipsec import VppIpsecSpd, VppIpsecSpdEntry, VppIpsecSpdItfBinding
from ipaddress import ip_address
from re import search
from os import popen
+from config import config
class IPsecIPv4Params:
@@ -323,6 +324,9 @@ class IpsecTcp(object):
self.assert_packet_checksums_valid(decrypted)
+@unittest.skipIf(
+ "hs_apps" in config.excluded_plugins, "Exclude tests requiring hs_apps plugin"
+)
class IpsecTcpTests(IpsecTcp):
def test_tcp_checksum(self):
"""verify checksum correctness for vpp generated packets"""
@@ -1849,6 +1853,9 @@ class IpsecTra4(object):
self._verify_tra_anti_replay_algorithm_no_esn()
+@unittest.skipIf(
+ "ping" in config.excluded_plugins, "Exclude tests requiring Ping plugin"
+)
class IpsecTra4Tests(IpsecTra4):
"""UT test methods for Transport v4"""
@@ -2029,6 +2036,9 @@ class IpsecTra6(object):
self.assert_equal(dc[IPv6ExtHdrFragment].id, 2)
+@unittest.skipIf(
+ "ping" in config.excluded_plugins, "Exclude tests requiring Ping plugin"
+)
class IpsecTra6Tests(IpsecTra6):
"""UT test methods for Transport v6"""