Searched refs:is_admin (Results 1 – 19 of 19) sorted by relevance
/external/chromium-trace/catapult/dashboard/dashboard/ |
D | edit_test_owners_test.py | 41 self.SetCurrentUser('chris@chromium.org', is_admin=False) 54 self.SetCurrentUser('chris@chromium.org', is_admin=True) 80 self.SetCurrentUser('chris@chromium.org', is_admin=False) 101 self.SetCurrentUser('chris@chromium.org', is_admin=True)
|
D | request_handler.py | 61 is_admin = False 66 is_admin = users.is_current_user_admin() 79 template_values['is_admin'] = is_admin
|
D | edit_anomaly_configs_test.py | 43 self.SetCurrentUser('qyearsley@chromium.org', is_admin=True) 62 self.SetCurrentUser('sullivan@chromium.org', is_admin=True) 83 self.SetCurrentUser('sullivan@chromium.org', is_admin=True) 143 self.SetCurrentUser('sullivan@chromium.org', is_admin=True)
|
D | testing_common.py | 90 def SetCurrentUser(self, email, user_id='123456', is_admin=False): argument 93 user_is_admin=('1' if is_admin else '0'),
|
D | edit_bug_labels_test.py | 26 self.SetCurrentUser('x@google.com', is_admin=True)
|
D | add_point_queue_test.py | 18 self.SetCurrentUser('foo@bar.com', is_admin=True)
|
D | edit_site_config_test.py | 28 self.SetCurrentUser('internal@chromium.org', is_admin=True)
|
D | edit_config_handler_test.py | 27 self.SetCurrentUser('foo@bar.com', is_admin=True)
|
D | change_internal_only_test.py | 28 self.SetCurrentUser('foo@bar.com', is_admin=True)
|
D | new_points_test.py | 26 self.SetCurrentUser('foo@chromium.org', is_admin=True)
|
D | graph_csv_test.py | 25 self.SetCurrentUser('foo@bar.com', is_admin=True)
|
D | mr_test.py | 38 self.SetCurrentUser('foo@bar.com', is_admin=True)
|
D | associate_alerts_test.py | 32 self.SetCurrentUser('foo@chromium.org', is_admin=True)
|
D | edit_sheriffs_test.py | 32 self.SetCurrentUser('foo@bar.com', is_admin=True)
|
D | datastore_hooks_test.py | 233 self.SetCurrentUser('foo@chromium.org', is_admin=True)
|
D | find_anomalies_test.py | 98 self.SetCurrentUser('foo@bar.com', is_admin=True)
|
D | add_point_test.py | 149 self.SetCurrentUser('foo@bar.com', is_admin=True)
|
/external/chromium-trace/catapult/third_party/webapp2/tests/ |
D | extras_appengine_users_test.py | 10 def set_current_user(email, user_id, is_admin=False): argument 13 os.environ['USER_IS_ADMIN'] = '1' if is_admin else '0' 67 set_current_user('foo@bar.com', 'foo@bar.com', is_admin=True)
|
/external/webrtc/ |
D | setup_links.py | 485 def is_admin(): function 490 if not is_admin():
|