#NEWLINE# def test_deferred_unset_apply_ran( self ) : #NEWLINE# #INDENT# manager = linux_net . IptablesManager ( ) #NEWLINE# manager . iptables_apply_deferred = True #NEWLINE# self . mox . StubOutWithMock ( manager , '_apply' ) #NEWLINE# manager . _apply ( ) #NEWLINE# self . mox . ReplayAll ( ) #NEWLINE# manager . defer_apply_off ( ) #NEWLINE# self . assertFalse ( manager . iptables_apply_deferred )