Esempio n. 1
0
 def test_acquire_lock_1(self):
     lock = master.acquire_lock_1(False, self.lock_file)
     is_locked = lock.is_locked
     lock.unlock()
     self.failUnless(is_locked)
Esempio n. 2
0
 def test_acquire_lock_1(self):
     lock = master.acquire_lock_1(False, self.lock_file)
     is_locked = lock.is_locked
     lock.unlock()
     self.assertTrue(is_locked)