#NEWLINE# def stubout_is_snapshot( stubs ) : #NEWLINE# #INDENT# 'Always returns true\n\n        xenapi fake driver does not create vmrefs for snapshots.\n    ' #NEWLINE# def f( * args ) : #NEWLINE# #INDENT# return True #NEWLINE# #UNINDENT# stubs . Set ( vm_utils , 'is_snapshot' , f )