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 <pvinci@vinciconsulting.com>
This commit is contained in:
Paul Vinciguerra
2018-12-06 07:46:13 -08:00
committed by Ole Trøan
parent 57f170bdf9
commit defde0f870
16 changed files with 89 additions and 81 deletions

View File

@ -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 """