From: Vincent Bernat Date: Wed, 16 Mar 2016 22:22:14 +0000 (+0100) Subject: tests/integration: down then up with vlan require dot1 support X-Git-Tag: 0.9.2~21 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=aceb61b40c1020a73178f4103eaa0665110b67a0;p=thirdparty%2Flldpd.git tests/integration: down then up with vlan require dot1 support --- 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')