Searched refs:is_admin (Results 1 – 1 of 1) sorted by relevance
10 def set_current_user(email, user_id, is_admin=False): argument13 os.environ['USER_IS_ADMIN'] = '1' if is_admin else '0'67 set_current_user('foo@bar.com', 'foo@bar.com', is_admin=True)