Home
last modified time | relevance | path

Searched refs:locked_by (Results 1 – 5 of 5) sorted by relevance

/external/autotest/server/cros/dynamic_suite/
Dfakes.py54 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 '')
Dtools_unittest.py108 host = FakeHost(locked=True, locked_by='some guy')
118 host = FakeHost(locked=True, locked_by=infra_user)
Dtools.py267 return (host.locked and host.locked_by != infrastructure_user())
/external/autotest/frontend/afe/
Dmodels.py515 locked_by = dbmodels.ForeignKey(User, null=True, blank=True, editable=False) variable in Host
739 if self.locked and not self.locked_by:
740 self.locked_by = User.current_user()
744 elif not self.locked and self.locked_by:
745 self.locked_by = None
Drpc_utils.py411 (host.hostname, host.locked_by, host.lock_time)})