#NEWLINE# def test_inject_auto_disk_config_none_as_false( self ) : #NEWLINE# #INDENT# ( vm , vm_ref ) = self . create_vm ( 'dummy' ) #NEWLINE# instance = { #NEWLINE# #INDENT# 'name' : 'dummy' , #NEWLINE# 'uuid' : '1234' , #NEWLINE# 'auto_disk_config' : None , #NEWLINE# #UNINDENT# } #NEWLINE# self . vmops . _inject_auto_disk_config ( instance , vm ) #NEWLINE# xenstore_data = vm [ 'xenstore_data' ] #NEWLINE# self . assertEqual ( xenstore_data [ 'vm-data/auto-disk-config' ] , 'False' )