/external/autotest/server/cros/dynamic_suite/ |
fakes.py | 45 def __init__(self, hostname='', status='Ready', locked=False, locked_by=''): 49 self.locked_by = locked_by 56 ' by %s' % self.locked_by if self.locked else '')
|
tools_unittest.py | 65 host = FakeHost(locked=True, locked_by='some guy') 75 host = FakeHost(locked=True, locked_by=infra_user)
|
tools.py | 189 return (host.locked and host.locked_by != infrastructure_user())
|
/external/autotest/server/cros/ |
host_lock_manager.py | 92 (mod_host, host_info.locked_by, host_info.lock_time))
|
host_lock_manager_unittest.py | 33 @attribute locked_by: a string, fake user. 43 self.locked_by = 'fake_user' 51 @attribute locked_by: a string, fake user.
|
/external/autotest/frontend/afe/ |
models.py | 449 locked_by: user that locked the host, or null if the host is unlocked 469 locked_by = dbmodels.ForeignKey(User, null=True, blank=True, editable=False) variable in class:Host 598 if self.locked and not self.locked_by: 599 self.locked_by = User.current_user() 603 {'changed_by': self.locked_by.login, 606 elif not self.locked and self.locked_by: 608 {'changed_by': self.locked_by.login}) 609 self.locked_by = None [all...] |
resources.py | 236 'locked_by', field='locked_by__login', 281 locked_by = (User.from_optional_instance(self._request, 282 self.instance.locked_by) 291 rep.update({'locked_by': locked_by, [all...] |
rpc_utils.py | 473 (host.hostname, host.locked_by, host.lock_time)}) [all...] |