diff options
Diffstat (limited to 'pym/portage/tests/locks')
-rw-r--r-- | pym/portage/tests/locks/test_asynchronous_lock.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pym/portage/tests/locks/test_asynchronous_lock.py b/pym/portage/tests/locks/test_asynchronous_lock.py index d592f4b22..50b9c93a5 100644 --- a/pym/portage/tests/locks/test_asynchronous_lock.py +++ b/pym/portage/tests/locks/test_asynchronous_lock.py @@ -56,6 +56,7 @@ class AsynchronousLockTestCase(TestCase): _force_async=True, _force_process=True) lock2.start() # lock2 should we waiting for lock1 to release + self.assertEqual(lock2.poll(), None) self.assertEqual(lock2.returncode, None) lock1.unlock() @@ -78,6 +79,7 @@ class AsynchronousLockTestCase(TestCase): _force_async=True, _force_process=True) lock2.start() # lock2 should we waiting for lock1 to release + self.assertEqual(lock2.poll(), None) self.assertEqual(lock2.returncode, None) # Cancel lock2 and then check wait() and returncode results. |