Home
last modified time | relevance | path

Searched refs:SetInUse (Results 1 – 8 of 8) sorted by relevance

/tools/acloud/internal/lib/
Dlocal_instance_lock_test.py49 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)
Dlocal_instance_lock.py122 def SetInUse(self, in_use): member in LocalInstanceLock
/tools/acloud/delete/
Ddelete_test.py56 mock_lock.SetInUse.assert_called_once_with(False)
77 mock_lock.SetInUse.assert_called_once_with(False)
107 mock_lock.SetInUse.assert_called_once_with(False)
134 mock_lock.SetInUse.assert_called_once_with(False)
155 mock_lock.SetInUse.assert_called_once_with(False)
Ddelete.py147 ins_lock.SetInUse(False)
183 lock.SetInUse(False)
218 ins_lock.SetInUse(False)
/tools/acloud/create/
Dgoldfish_local_image_local_instance_test.py208 self._mock_lock.SetInUse.assert_called_once_with(True)
256 self._mock_lock.SetInUse.assert_called_once_with(True)
300 self._mock_lock.SetInUse.assert_called_once_with(True)
332 self._mock_lock.SetInUse.assert_not_called()
Dlocal_image_local_instance_test.py134 mock_lock.SetInUse.assert_called_once_with(True)
138 mock_lock.SetInUse.reset_mock()
147 mock_lock.SetInUse.assert_not_called()
Dgoldfish_local_image_local_instance.py119 ins_lock.SetInUse(True)
126 ins_lock.SetInUse(True)
Dlocal_image_local_instance.py165 ins_lock.SetInUse(True)
173 ins_lock.SetInUse(True)