summaryrefslogtreecommitdiffstats
path: root/test/test_gbp.py
diff options
context:
space:
mode:
authorPaul Vinciguerra <pvinci@vinciconsulting.com>2018-12-06 07:46:13 -0800
committerOle Trøan <otroan@employees.org>2018-12-20 12:43:38 +0000
commitdefde0f87067eb473660794cbd4a2da69fdd191d (patch)
tree41a8e78df46ab9483aaf772622e1ba1e5e2e56c1 /test/test_gbp.py
parent57f170bdf9967e3f8ea6e937a70c7f86187f95a2 (diff)
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>
Diffstat (limited to 'test/test_gbp.py')
-rw-r--r--test/test_gbp.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_gbp.py b/test/test_gbp.py
index d587759fffa..9e930242026 100644
--- a/test/test_gbp.py
+++ b/test/test_gbp.py
@@ -1822,7 +1822,7 @@ class TestGBP(VppTestCase):
self.logger.info(self.vapi.cli("sh int"))
self.logger.info(self.vapi.cli("sh gbp vxlan"))
- @unittest.skipIf(is_skip_aarch64_set() and is_platform_aarch64(),
+ @unittest.skipIf(is_skip_aarch64_set and is_platform_aarch64,
"test doesn't work on aarch64")
def test_gbp_learn_vlan_l2(self):
""" GBP L2 Endpoint w/ VLANs"""
@@ -1992,7 +1992,7 @@ class TestGBP(VppTestCase):
self.pg2.unconfig_ip4()
self.pg3.unconfig_ip4()
- @unittest.skipIf(is_skip_aarch64_set() and is_platform_aarch64(),
+ @unittest.skipIf(is_skip_aarch64_set and is_platform_aarch64,
"test doesn't work on aarch64")
def test_gbp_learn_l3(self):
""" GBP L3 Endpoint Learning """