From aceb61b40c1020a73178f4103eaa0665110b67a0 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Wed, 16 Mar 2016 23:22:14 +0100 Subject: [PATCH] tests/integration: down then up with vlan require dot1 support --- tests/integration/test_interfaces.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/integration/test_interfaces.py b/tests/integration/test_interfaces.py index 47686d9c..69438d45 100644 --- a/tests/integration/test_interfaces.py +++ b/tests/integration/test_interfaces.py @@ -187,6 +187,8 @@ def test_down_then_up(lldpd1, lldpd, lldpcli, namespaces, links): assert out['lldp.eth0.port.descr'] == 'eth1' +@pytest.mark.skipif('Dot1' not in pytest.config.lldpd.features, + reason="Dot1 not supported") def test_down_then_up_with_vlan(lldpd1, lldpd, lldpcli, namespaces, links): with namespaces(2): links.vlan('vlan300', 300, 'eth1') -- 2.39.5