#NEWLINE# def testAbandonedLock( self ) : #NEWLINE# #INDENT# 'Test acquiring an abandoned lock.' #NEWLINE# lock = self . _AcquireOpLock ( user_id = 1 ) #NEWLINE# lock . Abandon ( self . _client , self . stop ) #NEWLINE# self . wait ( ) #NEWLINE# self . _ExecuteOp ( user_id = 1 , handler = lock . _OpMethod ) #NEWLINE# self . assertEqual ( self . _method_count , 1 )