#NEWLINE# def test_determine_vm_mode_returns_hvm_for_windows( self ) : #NEWLINE# #INDENT# instance = self . _fake_object ( { #NEWLINE# #INDENT# 'vm_mode' : None , #NEWLINE# 'os_type' : 'windows' , #NEWLINE# #UNINDENT# } ) #NEWLINE# self . assertEqual ( vm_mode . HVM , vm_utils . determine_vm_mode ( instance , None ) )