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_container.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/test_container.py') diff --git a/test/test_container.py b/test/test_container.py index 5e38f2a192d..66b7748630f 100644 --- a/test/test_container.py +++ b/test/test_container.py @@ -21,7 +21,7 @@ class Conn(L4_Conn): pass -@unittest.skipUnless(running_extended_tests(), "part of extended tests") +@unittest.skipUnless(running_extended_tests, "part of extended tests") class ContainerIntegrationTestCase(VppTestCase): """ Container integration extended testcases """ -- cgit 1.2.3-korg