#NEWLINE# @ mock . patch . object ( vmops . VMOps , '_read_from_xenstore' ) #NEWLINE# def test_pv_driver_version_reported_None( self , fake_read_from_xenstore ) : #NEWLINE# #INDENT# fake_read_from_xenstore . return_value = '"None"' #NEWLINE# fake_instance = { #NEWLINE# #INDENT# 'name' : 'fake_instance' , #NEWLINE# #UNINDENT# } #NEWLINE# self . assertFalse ( self . vmops . _pv_driver_version_reported ( self , 'vm_ref' ) )