nova/nova/tests/virt/libvirt
ChangBo Guo(gcb) 0bea84ac20 Removes the use of mutables as default args
Passing mutable objects as default args is a known Python pitfall.
We'd better avoid this. This commit changes mutable default args with
None, then use 'arg = arg or {}', 'arg = arg or []'. For unit code which
doesn't use the args , just set with None. This commit also adds hacking
check.

Closes-Bug: #1327473
Change-Id: I5a8492bf8ffef8e000b13b6bdfaef1968b96f816
2014-06-18 12:59:02 +08:00
..
__init__.py Removed copyright from empty files 2014-02-27 14:27:54 +02:00
fake_imagebackend.py Remove vi modelines 2014-02-03 14:19:44 +00:00
fake_libvirt_utils.py Default video type to 'vga' for PowerKVM 2014-02-06 20:11:28 +00:00
fakelibvirt.py Enable flake8 F841 checking 2014-05-28 14:55:08 +01:00
test_blockinfo.py Fix direct use of block_device module objects 2014-06-03 09:05:12 -07:00
test_config.py libvirt: convert cpu features attribute from list to a set 2014-06-04 23:47:04 -04:00
test_designer.py Remove @author from copyright statements. 2014-02-12 05:17:10 +11:00
test_dmcrypt.py Adds dmcrypt utility module 2014-01-28 12:35:49 -05:00
test_driver.py Removes the use of mutables as default args 2014-06-18 12:59:02 +08:00
test_fakelibvirt.py Remove vi modelines 2014-02-03 14:19:44 +00:00
test_imagebackend.py Merge "Avoid the possibility of truncating disk info file" 2014-04-11 06:58:41 +00:00
test_imagecache.py Enable flake8 F841 checking 2014-05-28 14:55:08 +01:00
test_utils.py libvirt: merge two utils tests files 2014-05-30 11:49:32 +01:00
test_vif.py libvirt: remove redundant 'libvirt_' prefix in test case names 2014-05-30 11:49:32 +01:00
test_volume.py libvirt: remove redundant 'libvirt_' prefix in test case names 2014-05-30 11:49:32 +01:00