summaryrefslogtreecommitdiffstats
path: root/test/test_interface_crud.py
diff options
context:
space:
mode:
authorKlement Sekera <ksekera@cisco.com>2018-06-22 13:54:07 +0200
committerFlorin Coras <florin.coras@gmail.com>2018-06-22 16:20:47 +0000
commitd5c60b96a3fd93916fc4af5c8d6d25625c28242e (patch)
tree78f5b5c614d6a3496e7acd995a42278c6f79d92a /test/test_interface_crud.py
parent3e2d57d8773e1d03577048f497dc7ed567fd9344 (diff)
make test: fix broken interfaces
Change-Id: I2e092774f81503e04b53cc6c6b5d357fe3fc52ab Signed-off-by: Klement Sekera <ksekera@cisco.com>
Diffstat (limited to 'test/test_interface_crud.py')
-rw-r--r--test/test_interface_crud.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_interface_crud.py b/test/test_interface_crud.py
index 63917047ed4..d78cb58be0b 100644
--- a/test/test_interface_crud.py
+++ b/test/test_interface_crud.py
@@ -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()