Home
last modified time | relevance | path

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

/external/autotest/server/cros/dynamic_suite/
Dfakes.py45 def __init__(self, hostname='', status='Ready', locked=False, locked_by=''): argument
49 self.locked_by = locked_by
56 ' by %s' % self.locked_by if self.locked else '')
Dtools_unittest.py65 host = FakeHost(locked=True, locked_by='some guy')
75 host = FakeHost(locked=True, locked_by=infra_user)
Dtools.py189 return (host.locked and host.locked_by != infrastructure_user())
/external/autotest/frontend/afe/
Dmodels.py469 locked_by = dbmodels.ForeignKey(User, null=True, blank=True, editable=False) variable in 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
Dresources.py281 locked_by = (User.from_optional_instance(self._request,
282 self.instance.locked_by)
291 rep.update({'locked_by': locked_by,
Drpc_utils.py473 (host.hostname, host.locked_by, host.lock_time)})
/external/autotest/server/cros/
Dhost_lock_manager.py92 (mod_host, host_info.locked_by, host_info.lock_time))
Dhost_lock_manager_unittest.py43 self.locked_by = 'fake_user'
/external/autotest/frontend/afe/doctests/
D001_rpc_test.txt118 ... 'locked_by': 'debug_user',
580 ... 'locked_by': None,