From 8fe53e87b6d63a0b309544742e9bb6da4caba765 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Tue, 14 Jun 2016 11:07:19 +0200 Subject: [PATCH] tests: remove useless variable --- tests/integration/test_basic.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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") -- 2.39.5