tests: cli wrapper should return string

Python3 fixes.

Type: fix
Signed-off-by: Ole Troan <ot@cisco.com>
Change-Id: I648b2142d45dfab9146a02eeb1b12de11103ff9f
Signed-off-by: Ole Troan <ot@cisco.com>
This commit is contained in:
Ole Troan
2019-10-15 19:31:55 +02:00
committed by Neale Ranns
parent d6df3acf5c
commit 6ed154f779
5 changed files with 12 additions and 12 deletions

View File

@ -369,8 +369,7 @@ class VppPapiProvider(object):
:param cli: CLI to execute
:returns: CLI output
"""
return cli + "\n" + self.cli(cli).encode('ascii',
errors='backslashreplace')
return cli + "\n" + self.cli(cli)
def want_ip4_arp_events(self, enable_disable=1, ip="0.0.0.0"):
return self.api(self.papi.want_ip4_arp_events,