From 34fa0ce8f70a341df432b0baa3deaa1e87c71b95 Mon Sep 17 00:00:00 2001 From: Dmitry Valter Date: Mon, 11 Mar 2024 10:38:46 +0000 Subject: tests: skip more excluded plugin tests Check and skip VPP_EXCLUDED_PLUGINS tests for most of plugins. Type: improvement Signed-off-by: Dmitry Valter Change-Id: I23fd3666729251c639aa8da72a676058e3f5bb4e --- test/test_nat66.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/test_nat66.py') diff --git a/test/test_nat66.py b/test/test_nat66.py index 44df7222f9d..54f9321d44e 100644 --- a/test/test_nat66.py +++ b/test/test_nat66.py @@ -13,8 +13,10 @@ from scapy.layers.inet6 import ( from scapy.layers.l2 import Ether, GRE from util import ppp from vpp_papi import VppEnum +from config import config +@unittest.skipIf("nat" in config.excluded_plugins, "Exclude NAT plugin tests") class TestNAT66(VppTestCase): """NAT66 Test Cases""" -- cgit 1.2.3-korg