make test: fix broken interfaces
Change-Id: I2e092774f81503e04b53cc6c6b5d357fe3fc52ab Signed-off-by: Klement Sekera <ksekera@cisco.com>
This commit is contained in:

committed by
Florin Coras

parent
3e2d57d877
commit
d5c60b96a3
@ -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()
|
||||
|
Reference in New Issue
Block a user