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')
120 host = FakeHost(locked=True, locked_by=infra_user)
Dtools.py267 return (host.locked and host.locked_by != infrastructure_user())
/external/autotest/frontend/afe/
Dmodels.py516 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
Drpc_utils.py411 (host.hostname, host.locked_by, host.lock_time)})