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_dns.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/test_dns.py') diff --git a/test/test_dns.py b/test/test_dns.py index edd1415bb01..77f26d71eaa 100644 --- a/test/test_dns.py +++ b/test/test_dns.py @@ -5,12 +5,14 @@ import unittest from framework import VppTestCase from asfframework import VppTestRunner from ipaddress import * +from config import config from scapy.layers.inet import IP, UDP from scapy.layers.l2 import Ether from scapy.layers.dns import DNS, DNSQR +@unittest.skipIf("dns" in config.excluded_plugins, "Exclude DNS plugin tests") class TestDns(VppTestCase): """Dns Test Cases""" -- cgit 1.2.3-korg