PEP8 Cleanups
This commit is contained in:
@@ -30,7 +30,7 @@ class LockTestCase(TestCase):
|
||||
lock_2.release()
|
||||
|
||||
def test_timeout_expired(self):
|
||||
lock_1 = Lock.objects.acquire_lock(name='test_lock_1', timeout=1)
|
||||
Lock.objects.acquire_lock(name='test_lock_1', timeout=1)
|
||||
|
||||
# lock_1 not release and not expired, should raise LockError
|
||||
with self.assertRaises(LockError):
|
||||
|
||||
Reference in New Issue
Block a user