From defde0f87067eb473660794cbd4a2da69fdd191d Mon Sep 17 00:00:00 2001 From: Paul Vinciguerra Date: Thu, 6 Dec 2018 07:46:13 -0800 Subject: Tests: Cleanup @skip decorator. The runnning environment is static as of module load time, so only evalute the conditions once at module load time. Track-by: VPP-1518 Change-Id: I73b0d17ae1ff90789e70307f168d43921829aec8 Signed-off-by: Paul Vinciguerra --- test/test_vxlan_gpe.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/test_vxlan_gpe.py') diff --git a/test/test_vxlan_gpe.py b/test/test_vxlan_gpe.py index cf24652a257..7c2df4cf38a 100644 --- a/test/test_vxlan_gpe.py +++ b/test/test_vxlan_gpe.py @@ -12,7 +12,7 @@ from scapy.layers.vxlan import VXLAN from scapy.utils import atol -@unittest.skipUnless(running_extended_tests(), "part of extended tests") +@unittest.skipUnless(running_extended_tests, "part of extended tests") class TestVxlanGpe(BridgeDomain, VppTestCase): """ VXLAN-GPE Test Case """ -- cgit 1.2.3-korg