diff options
author | Bala Konda Reddy M <bala12352@gmail.com> | 2020-07-27 20:05:35 +0530 |
---|---|---|
committer | Bala Konda Reddy M <bala12352@gmail.com> | 2020-07-28 04:41:22 +0000 |
commit | 706376004864c050bb22648cffd24881965e37ed (patch) | |
tree | 1140c5f9327474ef6c21e6c9d76b65d807de4133 /ansible | |
parent | 6b8f2f0c23a1d5939bdf32dfa70d4bb7deaf7ba7 (diff) |
[Testfix] Fix TypeError for python3
Problem: Test is failing with below traceback
when ran with python3 as default.
`
Traceback (most recent call last):
File "<string>", line 1, in <module>
TypeError: a bytes-like object is required, not 'str'
`
Solution:
Added ''.encode() which will fix the issue when ran
using both python2 and python3
Added a check for core file on the client node.
Change-Id: I8f800f5fad97c3b7591db79ea51203e5293a1f69
Signed-off-by: Bala Konda Reddy M <bala12352@gmail.com>
Diffstat (limited to 'ansible')
0 files changed, 0 insertions, 0 deletions