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_acl_plugin_conns.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/test_acl_plugin_conns.py') diff --git a/test/test_acl_plugin_conns.py b/test/test_acl_plugin_conns.py index ea643e04709..d3c8581396d 100644 --- a/test/test_acl_plugin_conns.py +++ b/test/test_acl_plugin_conns.py @@ -124,7 +124,7 @@ class Conn(L4_Conn): return new_rule -@unittest.skipUnless(running_extended_tests(), "part of extended tests") +@unittest.skipUnless(running_extended_tests, "part of extended tests") class ACLPluginConnTestCase(VppTestCase): """ ACL plugin connection-oriented extended testcases """ -- cgit 1.2.3-korg