From: Vincent Bernat Date: Tue, 14 Jun 2016 09:07:19 +0000 (+0200) Subject: tests: remove useless variable X-Git-Tag: 0.9.4~10 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8fe53e87b6d63a0b309544742e9bb6da4caba765;p=thirdparty%2Flldpd.git tests: remove useless variable --- diff --git a/tests/integration/test_basic.py b/tests/integration/test_basic.py index 84a81e20..61ffaac8 100644 --- a/tests/integration/test_basic.py +++ b/tests/integration/test_basic.py @@ -93,7 +93,7 @@ def test_management_address(lldpd1, lldpd, lldpcli, links, namespaces): def test_portid_subtype_ifname(lldpd1, lldpd, lldpcli, namespaces): with namespaces(2): lldpd() - result = lldpcli("configure", "lldp", "portidsubtype", "ifname") + lldpcli("configure", "lldp", "portidsubtype", "ifname") time.sleep(3) with namespaces(1): out = lldpcli("-f", "keyvalue", "show", "neighbors") @@ -119,7 +119,7 @@ def test_portid_subtype_macaddress(lldpd1, lldpd, lldpcli, links, namespaces): idx = ipr.link_lookup(ifname="eth1")[0] ipr.link('set', index=idx, ifalias="alias of eth1") lldpd() - result = lldpcli("configure", "lldp", "portidsubtype", "macaddress") + lldpcli("configure", "lldp", "portidsubtype", "macaddress") time.sleep(3) with namespaces(1): out = lldpcli("-f", "keyvalue", "show", "neighbors") @@ -130,7 +130,7 @@ def test_portid_subtype_macaddress(lldpd1, lldpd, lldpcli, links, namespaces): def test_portid_subtype_local(lldpd1, lldpd, lldpcli, namespaces): with namespaces(2): lldpd() - result = lldpcli("configure", "lldp", "portidsubtype", "local", "localname") + lldpcli("configure", "lldp", "portidsubtype", "local", "localname") time.sleep(3) with namespaces(1): out = lldpcli("-f", "keyvalue", "show", "neighbors") @@ -141,7 +141,7 @@ def test_portid_subtype_local(lldpd1, lldpd, lldpcli, namespaces): def test_portid_subtype_local_with_description(lldpd1, lldpd, lldpcli, namespaces): with namespaces(2): lldpd() - result = lldpcli("configure", "lldp", "portidsubtype", "local", "localname", "description", "localdescription") + lldpcli("configure", "lldp", "portidsubtype", "local", "localname", "description", "localdescription") time.sleep(3) with namespaces(1): out = lldpcli("-f", "keyvalue", "show", "neighbors") @@ -156,7 +156,7 @@ def test_portid_subtype_local_with_alias(lldpd1, lldpd, lldpcli, namespaces): ipr.link('set', index=idx, ifalias="alias of eth1") lldpd() lldpd() - result = lldpcli("configure", "lldp", "portidsubtype", "local", "localname") + lldpcli("configure", "lldp", "portidsubtype", "local", "localname") time.sleep(3) with namespaces(1): out = lldpcli("-f", "keyvalue", "show", "neighbors")