#NEWLINE# def testDiskInfoByWrongName( self ) : #NEWLINE# #INDENT# 'Assert that GetDiskInfo returns None when given a wrong name.' #NEWLINE# cfg = self . _get_object_mock ( ) #NEWLINE# ( inst , disk ) = self . _CreateInstanceDisk ( cfg ) #NEWLINE# result = cfg . GetDiskInfoByName ( 'name1134' ) #NEWLINE# self . assertEqual ( None , disk )