nova/nova/tests/unit/virt/disk
Lee Yarwood e98935f705 guestfs: With libguestfs >= v1.41.1 decode returned bytes to string
libguestfs >= v1.41.1 and commit 0ee02e0117527 changed the return type
of read_file from string to bytes.

0ee02e0117

As we don't check the version of libguestfs installed this change
handles both the original behaviour where a string is returned and the
newer behaviour by decoding any returned bytes to a string.

Closes-Bug: #1882421
Change-Id: I1c12b2903c1e5bf3a88394493456ad33233f3cd8
(cherry picked from commit 606d588e3e)
2021-04-24 15:55:18 +00:00
..
mount Remove six.binary_type/integer_types/string_types 2020-12-13 11:25:14 +00:00
vfs guestfs: With libguestfs >= v1.41.1 decode returned bytes to string 2021-04-24 15:55:18 +00:00
__init__.py
test_api.py Remove non-libguestfs file injection for libvirt 2021-03-03 17:54:57 +01:00
test_inject.py Stop using mox stubs in nova/tests/unit/virt/disk 2016-11-21 20:39:26 +09:00