Searched refs:locked_by (Results 1 – 9 of 9) sorted by relevance
/external/autotest/server/cros/dynamic_suite/ |
D | fakes.py | 45 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 '')
|
D | tools_unittest.py | 65 host = FakeHost(locked=True, locked_by='some guy') 75 host = FakeHost(locked=True, locked_by=infra_user)
|
D | tools.py | 189 return (host.locked and host.locked_by != infrastructure_user())
|
/external/autotest/frontend/afe/ |
D | models.py | 469 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
|
D | resources.py | 281 locked_by = (User.from_optional_instance(self._request, 282 self.instance.locked_by) 291 rep.update({'locked_by': locked_by,
|
D | rpc_utils.py | 473 (host.hostname, host.locked_by, host.lock_time)})
|
/external/autotest/server/cros/ |
D | host_lock_manager.py | 92 (mod_host, host_info.locked_by, host_info.lock_time))
|
D | host_lock_manager_unittest.py | 43 self.locked_by = 'fake_user'
|
/external/autotest/frontend/afe/doctests/ |
D | 001_rpc_test.txt | 118 ... 'locked_by': 'debug_user', 580 ... 'locked_by': None,
|