#NEWLINE# def test_xsm_sr_check_relaxed_cached( self ) : #NEWLINE# #INDENT# self . make_plugin_call_count = 0 #NEWLINE# def fake_make_plugin_call( plugin , method , **args ) : #NEWLINE# #INDENT# self . make_plugin_call_count = ( self . make_plugin_call_count + 1 ) #NEWLINE# return 'true' #NEWLINE# #UNINDENT# self . stubs . Set ( self . _vmops , '_make_plugin_call' , fake_make_plugin_call ) #NEWLINE# self . assertTrue ( self . _vmops . _is_xsm_sr_check_relaxed ( ) ) #NEWLINE# self . assertTrue ( self . _vmops . _is_xsm_sr_check_relaxed ( ) ) #NEWLINE# self . assertEqual ( self . make_plugin_call_count , 1 )