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_dhcp6.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'test/test_dhcp6.py') diff --git a/test/test_dhcp6.py b/test/test_dhcp6.py index 5c8e4354ab0..dbb550b1725 100644 --- a/test/test_dhcp6.py +++ b/test/test_dhcp6.py @@ -24,14 +24,17 @@ from scapy.layers.inet6 import IPv6, Ether, UDP from framework import VppTestCase from asfframework import tag_fixme_vpp_workers, tag_run_solo from vpp_papi import VppEnum +from config import config import util import os +import unittest def ip6_normalize(ip6): return inet_ntop(AF_INET6, inet_pton(AF_INET6, ip6)) +@unittest.skipIf("dhcp" in config.excluded_plugins, "Exclude DHCP plugin tests") class TestDHCPv6DataPlane(VppTestCase): """DHCPv6 Data Plane Test Case""" @@ -243,6 +246,7 @@ class TestDHCPv6DataPlane(VppTestCase): @tag_run_solo +@unittest.skipIf("dhcp" in config.excluded_plugins, "Exclude DHCP plugin tests") class TestDHCPv6IANAControlPlane(VppTestCase): """DHCPv6 IA NA Control Plane Test Case""" @@ -497,6 +501,7 @@ class TestDHCPv6IANAControlPlane(VppTestCase): @tag_fixme_vpp_workers +@unittest.skipIf("dhcp" in config.excluded_plugins, "Exclude DHCP plugin tests") class TestDHCPv6PDControlPlane(VppTestCase): """DHCPv6 PD Control Plane Test Case""" -- cgit 1.2.3-korg