#NEWLINE# def test_memory_with_overhead_insufficient( self ) : #NEWLINE# #INDENT# overhead = { #NEWLINE# #INDENT# 'memory_mb' : 9 , #NEWLINE# #UNINDENT# } #NEWLINE# limits = { #NEWLINE# #INDENT# 'memory_mb' : 2048 , #NEWLINE# #UNINDENT# } #NEWLINE# self . assertRaises ( exception . ComputeResourcesUnavailable , self . _claim , limits = limits , overhead = overhead , memory_mb = 2040 )