diff options
author | Ole Troan <ot@cisco.com> | 2019-10-15 19:31:55 +0200 |
---|---|---|
committer | Neale Ranns <nranns@cisco.com> | 2019-10-16 15:00:45 +0000 |
commit | 6ed154f779c765f38b61ed84349bd539287dd02b (patch) | |
tree | 94821fb30d58ee909528bd3fecdd5c3e1dd1461c /test/vpp_papi_provider.py | |
parent | d6df3acf5cf31b603241574cadbf9863e27b2d60 (diff) |
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>
Diffstat (limited to 'test/vpp_papi_provider.py')
-rw-r--r-- | test/vpp_papi_provider.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/vpp_papi_provider.py b/test/vpp_papi_provider.py index d80f2ed4400..297c1592dbf 100644 --- a/test/vpp_papi_provider.py +++ b/test/vpp_papi_provider.py @@ -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, |