Searched refs:locked_by (Results 1 – 5 of 5) sorted by relevance
/external/autotest/server/cros/dynamic_suite/ |
D | fakes.py | 54 def __init__(self, hostname='', status='Ready', locked=False, locked_by=''): argument 58 self.locked_by = locked_by 65 ' by %s' % self.locked_by if self.locked else '')
|
D | tools_unittest.py | 108 host = FakeHost(locked=True, locked_by='some guy') 120 host = FakeHost(locked=True, locked_by=infra_user)
|
D | tools.py | 267 return (host.locked and host.locked_by != infrastructure_user())
|
/external/autotest/frontend/afe/ |
D | models.py | 516 locked_by = dbmodels.ForeignKey(User, null=True, blank=True, editable=False) variable in Host 740 if self.locked and not self.locked_by: 741 self.locked_by = User.current_user() 745 elif not self.locked and self.locked_by: 746 self.locked_by = None
|
D | rpc_utils.py | 411 (host.hostname, host.locked_by, host.lock_time)})
|