def testSimpleAcquire(self):
    self._TryAcquire('my', '1234')
    self._TryAcquire('my', '!@#%!@#$', resource_data='some data')
    self._TryAcquire('my', '12-34', resource_data='the quick brown fox jumped over the lazy dog',
                     detect_abandonment=True)
Test acquiring a lock.
dataset/ETHPy150Open viewfinderco/viewfinder/backend/db/test/lock_test.py/LockTestCase.testSimpleAcquire