oslo.utils/oslo_utils/tests
Mark Mielke 5204dfcd6c Support "qemu-img info" virtual size in QEMU 4.1 and later
QEMU 4.0 and earlier have output like:

    virtual size: 1.5M (1572864 bytes)

QEMU 4.1 and later have output like:

    virtual size: 1.5 MiB (1572864 bytes)

Adjust the regular expression to allow for optional whitespace
between the magnitude and the unit.

Adjust the unit parsing to support the expanded "MiB" form.

Change-Id: I1f316d6982c0def3296af4835484ad2d81a87fd4
Closes-Bug: 1844050
2019-09-20 16:56:47 -04:00
..
fake Make method import_versioned_module work 2016-10-12 16:51:52 +08:00
__init__.py Move files out of the namespace package 2015-01-06 17:07:36 -05:00
base.py Move files out of the namespace package 2015-01-06 17:07:36 -05:00
test_dictutils.py Create dictutils and add 'flatten_dict_to_keypairs' 2016-11-01 23:35:57 +08:00
test_eventletutils.py eventletutils: Optimise EventletEvent.clear() 2019-01-25 14:56:57 +13:00
test_excutils.py Remove moxstubout usage 2018-08-22 07:21:09 -04:00
test_fileutils.py Add method last_bytes in fileutils 2017-12-27 10:52:27 +08:00
test_fixture.py UUID sentinel 2018-08-28 12:55:33 +00:00
test_fnmatch.py Fix flake8 issues 2016-06-17 07:51:19 +03:00
test_imageutils.py Support "qemu-img info" virtual size in QEMU 4.1 and later 2019-09-20 16:56:47 -04:00
test_importutils.py Make method import_versioned_module work 2016-10-12 16:51:52 +08:00
test_netutils.py Add method to escape ipv6 ip addresses 2017-08-18 12:50:08 +01:00
test_reflection.py Add __ne__ built-in function 2016-10-17 08:51:06 +08:00
test_secretutils.py Add digestmod when using hmac 2019-08-21 18:28:09 +02:00
test_specs_matcher.py Document specs_matcher.py functions 2018-01-30 10:10:26 -08:00
test_strutils.py Mask encryption_key_id 2019-02-02 16:46:03 +08:00
test_timeutils.py Fix breaking unit tests due to iso8601 changes 2018-02-06 09:47:15 -08:00
test_uuidutils.py Replace 'assertFalse(a in b)' with 'assertNotIn(a, b)' 2018-01-19 19:21:47 +08:00
test_versionutils.py versionutils: add version convert helper methods 2015-07-10 15:42:12 +08:00
tests_encodeutils.py Fix flake8 issues 2016-06-17 07:51:19 +03:00