Revert "Revert "make test: fix broken interfaces""

This reverts commit c8efa29b6f.

Change-Id: I1d5c5773d5f86a63073e255336bd9de628e26179
Signed-off-by: Klement Sekera <ksekera@cisco.com>
This commit is contained in:
Klement Sekera
2018-06-24 22:49:33 +02:00
parent 31da2e3031
commit b9ef2739dd
23 changed files with 61 additions and 86 deletions

View File

@ -79,7 +79,7 @@ class TestLoopbackInterfaceCRUD(VppTestCase):
def test_crud(self):
# create
loopbacks = self.create_loopback_interfaces(range(20))
loopbacks = self.create_loopback_interfaces(20)
for i in loopbacks:
i.local_ip4_prefix_len = 32
i.config_ip4()
@ -121,7 +121,7 @@ class TestLoopbackInterfaceCRUD(VppTestCase):
def test_down(self):
# create
loopbacks = self.create_loopback_interfaces(range(20))
loopbacks = self.create_loopback_interfaces(20)
for i in loopbacks:
i.local_ip4_prefix_len = 32
i.config_ip4()