]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
tests/integration: down then up with vlan require dot1 support
authorVincent Bernat <vincent@bernat.im>
Wed, 16 Mar 2016 22:22:14 +0000 (23:22 +0100)
committerVincent Bernat <vincent@bernat.im>
Wed, 16 Mar 2016 22:22:14 +0000 (23:22 +0100)
tests/integration/test_interfaces.py

index 47686d9c55b076dfdebd5c2f8dfda0736c968060..69438d4572e1b18adb4d060476a0e62f012655a3 100644 (file)
@@ -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')