nova/nova/tests/unit/privsep
Matt Riedemann a371f11835 Fix circular import in nova.privsep.utils
Commit 26521718bd imported
nova.utils into nova.privsep.utils which can cause
an ImportError due to an ArgsAlreadyParseError because of
nova.utils importing nova.conf which registers config options.

For some obscure reason, this is only being noticed when using
[libvirt]/image_type=lvm, so something in the libvirt lvm image
backend using privsep is tickling this import error, but regardless
the nova.privsep code should avoid importing stuff from the
rest of nova, so this change simply adds a simple
"generate_random_string" utility to nova.privsep.utils to
avoid the import.

Change-Id: I3799869fd4217d12b92d79e27484043ef5b8dc13
Closes-Bug: #1808247
2019-01-03 17:21:10 -05:00
..
__init__.py
test_fs.py Move configurable mkfs to privsep. 2018-04-04 06:29:32 +10:00
test_idmapshift.py Move the idmapshift binary into privsep. 2017-10-24 18:50:23 +11:00
test_path.py Move last_bytes into the path module 2017-11-06 10:30:21 +02:00
test_utils.py Fix circular import in nova.privsep.utils 2019-01-03 17:21:10 -05:00