nova/nova/tests/unit/virt/xenapi
Matt Riedemann cf197ec2d6 xen: mask passwords in volume connection_data dict
The connection_data dict can have credentials in it, so we need to scrub
those before putting the stringified dict into the StorageError message
and raising that up and when logging the dict.

Note that strutils.mask_password converts the dict to a string using
six.text_type so we don't have to do that conversion first.

SecurityImpact

Change-Id: Ic5f4d4c26794550a92481bf2b725ef5eafa581b2
Closes-Bug: #1516765
(cherry picked from commit 8b289237ed)
2015-11-19 22:51:38 +00:00
..
client Fix for mock-1.1.0 2015-07-10 10:18:19 -04:00
image Don't pass the service catalog when making glance requests 2015-08-07 09:21:49 -07:00
__init__.py move all tests to nova/tests/unit 2014-11-12 15:31:08 -05:00
stubs.py Replace dict.iteritems() with six.iteritems(dict) 2015-05-22 11:33:18 -07:00
test_agent.py Enable check for H238 rule 2015-01-20 18:05:47 +03:00
test_driver.py Switch to using oslo_* instead of oslo.* 2015-02-06 06:03:10 -05:00
test_network_utils.py move all tests to nova/tests/unit 2014-11-12 15:31:08 -05:00
test_vm_utils.py Merge "compute: improve exceptions related to disk size checks" 2015-09-01 20:00:45 +00:00
test_vmops.py Xenapi: Don't access image_meta.id when booting from a volume 2015-09-16 16:11:54 -04:00
test_volume_utils.py xen: mask passwords in volume connection_data dict 2015-11-19 22:51:38 +00:00
test_volumeops.py xen: mask passwords in volume connection_data dict 2015-11-19 22:51:38 +00:00
test_xenapi.py xapi: cleanup volume sr on live migration rollback 2015-09-14 12:04:32 +00:00
vm_rrd.xml move all tests to nova/tests/unit 2014-11-12 15:31:08 -05:00