Searched refs:SetInUse (Results 1 – 8 of 8) sorted by relevance
49 self._lock.SetInUse(True)55 self._lock.SetInUse(False)64 self.assertRaises(RuntimeError, self._lock.SetInUse, True)65 self.assertRaises(RuntimeError, self._lock.SetInUse, False)
124 def SetInUse(self, in_use): member in LocalInstanceLock
55 mock_lock.SetInUse.assert_called_once_with(False)76 mock_lock.SetInUse.assert_called_once_with(False)106 mock_lock.SetInUse.assert_called_once_with(False)133 mock_lock.SetInUse.assert_called_once_with(False)154 mock_lock.SetInUse.assert_called_once_with(False)
146 ins_lock.SetInUse(False)182 lock.SetInUse(False)217 ins_lock.SetInUse(False)
209 self._mock_lock.SetInUse.assert_called_once_with(True)257 self._mock_lock.SetInUse.assert_called_once_with(True)301 self._mock_lock.SetInUse.assert_called_once_with(True)333 self._mock_lock.SetInUse.assert_not_called()
159 mock_lock.SetInUse.assert_called_once_with(True)163 mock_lock.SetInUse.reset_mock()171 mock_lock.SetInUse.assert_not_called()183 mock_lock.SetInUse.assert_not_called()
117 ins_lock.SetInUse(True)124 ins_lock.SetInUse(True)
171 ins_lock.SetInUse(True)181 ins_lock.SetInUse(True)