Lines Matching refs:LOCK
58 Add hosts to self.locked_hosts for LOCK and remove hosts from
62 @param operation: a string, LOCK or UNLOCK.
65 if operation == self.LOCK:
91 actual = self.manager._check_host(self.HOST1, self.manager.LOCK)
110 actual = self.manager._check_host(host_with_dot, self.manager.LOCK)
129 manager.lock(hosts, lock_reason='Locking for test')
138 manager.lock(hosts, lock_reason='Locking for test')
147 self.manager.lock(hosts)
183 self.manager.LOCK).AndReturn(self.HOST1)
188 self.manager._host_modifier(hosts, self.manager.LOCK,
210 """Test host locking without providing a lock reason."""
215 self.manager.LOCK).AndReturn(self.HOST1)
221 self.manager._host_modifier(hosts, self.manager.LOCK)