]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
test_cephfs_shell: use StringIO instead of BytesIO
authorRishabh Dave <ridave@redhat.com>
Fri, 8 May 2020 17:58:27 +0000 (23:28 +0530)
committerRishabh Dave <ridave@redhat.com>
Thu, 4 Jun 2020 18:32:36 +0000 (00:02 +0530)
commitb67ce004adb15545b4d0cd6d1924fe754e046431
tree5be38f290e78bf0b30fb3efcfbd595772cf19918
parent4d71b55be26ad5f653144df2ca33aa31470dd735
test_cephfs_shell: use StringIO instead of BytesIO

Code in qa/ uses both StringIO and BytesIO. Let's use StringIO
exclusively (unless necessary) for uniformity. The reason for using
StringIO over BytesIO is that tests mostly need stdout as string than
as bytes and StringIO is used more frequently used in qa/ code at this
point.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
qa/tasks/cephfs/test_cephfs_shell.py