Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(278)

Side by Side Diff: appengine/auth_service/test_replica_app/main.py

Issue 1860863002: Update copyright notice from Swarming to LUCI; add AUTHORS and CONTRIBUTORS. (Closed) Base URL: git@github.com:luci/luci-py.git@master
Patch Set: . Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « appengine/auth_service/test_env.py ('k') | appengine/auth_service/tools/compile_proto.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Swarming Authors. All rights reserved. 1 # Copyright 2014 The LUCI Authors. All rights reserved.
2 # Use of this source code is governed by the Apache v2.0 license that can be 2 # Use of this source code is governed by the Apache v2.0 license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import webapp2 5 import webapp2
6 6
7 from google.appengine.api import datastore_errors 7 from google.appengine.api import datastore_errors
8 from google.appengine.ext import ndb 8 from google.appengine.ext import ndb
9 9
10 from components import auth 10 from components import auth
11 from components import utils 11 from components import utils
(...skipping 15 matching lines...) Expand all
27 # Add a fake admin for local dev server. 27 # Add a fake admin for local dev server.
28 if not auth.is_replica(): 28 if not auth.is_replica():
29 auth.bootstrap_group( 29 auth.bootstrap_group(
30 auth.ADMIN_GROUP, 30 auth.ADMIN_GROUP,
31 [auth.Identity(auth.IDENTITY_USER, 'test@example.com')], 31 [auth.Identity(auth.IDENTITY_USER, 'test@example.com')],
32 'Users that can manage groups') 32 'Users that can manage groups')
33 33
34 # /_ah/warmup is used by the smoke test to detect that app is alive. 34 # /_ah/warmup is used by the smoke test to detect that app is alive.
35 app = webapp2.WSGIApplication( 35 app = webapp2.WSGIApplication(
36 [webapp2.Route(r'/_ah/warmup', WarmupHandler)], debug=True) 36 [webapp2.Route(r'/_ah/warmup', WarmupHandler)], debug=True)
OLDNEW
« no previous file with comments | « appengine/auth_service/test_env.py ('k') | appengine/auth_service/tools/compile_proto.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698