diff options
author | Klement Sekera <ksekera@cisco.com> | 2018-06-22 13:54:07 +0200 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2018-06-22 16:20:47 +0000 |
commit | d5c60b96a3fd93916fc4af5c8d6d25625c28242e (patch) | |
tree | 78f5b5c614d6a3496e7acd995a42278c6f79d92a /test/test_vcl.py | |
parent | 3e2d57d8773e1d03577048f497dc7ed567fd9344 (diff) |
make test: fix broken interfaces
Change-Id: I2e092774f81503e04b53cc6c6b5d357fe3fc52ab
Signed-off-by: Klement Sekera <ksekera@cisco.com>
Diffstat (limited to 'test/test_vcl.py')
-rw-r--r-- | test/test_vcl.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/test_vcl.py b/test/test_vcl.py index cba8c67b5c7..79eb75f364f 100644 --- a/test/test_vcl.py +++ b/test/test_vcl.py @@ -68,12 +68,12 @@ class VCLTestCase(VppTestCase): worker_client.join(self.timeout) try: self.validateResults(worker_client, worker_server, self.timeout) - except Exception, error: + except Exception as error: self.fail("Failed with %s" % error) def thru_host_stack_setup(self): self.vapi.session_enable_disable(is_enabled=1) - self.create_loopback_interfaces(range(2)) + self.create_loopback_interfaces(2) table_id = 1 @@ -117,7 +117,7 @@ class VCLTestCase(VppTestCase): def thru_host_stack_ipv6_setup(self): self.vapi.session_enable_disable(is_enabled=1) - self.create_loopback_interfaces(range(2)) + self.create_loopback_interfaces(2) table_id = 1 @@ -182,7 +182,7 @@ class VCLTestCase(VppTestCase): try: self.validateResults(worker_client, worker_server, self.timeout) - except Exception, error: + except Exception as error: self.fail("Failed with %s" % error) def validateResults(self, worker_client, worker_server, timeout): |