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

Side by Side Diff: appengine_module/test_results/main.py

Issue 498083002: Make flakiness dashboard links to googlesource work post git migration. (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@deployable
Patch Set: move test to the right location Created 6 years, 3 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_module/test_results/handlers/test/redirector_test.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (C) 2010 Google Inc. All rights reserved. 1 # Copyright (C) 2010 Google Inc. All rights reserved.
2 # 2 #
3 # Redistribution and use in source and binary forms, with or without 3 # Redistribution and use in source and binary forms, with or without
4 # modification, are permitted provided that the following conditions are 4 # modification, are permitted provided that the following conditions are
5 # met: 5 # met:
6 # 6 #
7 # * Redistributions of source code must retain the above copyright 7 # * Redistributions of source code must retain the above copyright
8 # notice, this list of conditions and the following disclaimer. 8 # notice, this list of conditions and the following disclaimer.
9 # * Redistributions in binary form must reproduce the above 9 # * Redistributions in binary form must reproduce the above
10 # copyright notice, this list of conditions and the following disclaimer 10 # copyright notice, this list of conditions and the following disclaimer
(...skipping 13 matching lines...) Expand all
24 # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 24 # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
25 # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 26 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
27 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28 28
29 import webapp2 29 import webapp2
30 30
31 from appengine_module.test_results.handlers import buildershandler 31 from appengine_module.test_results.handlers import buildershandler
32 from appengine_module.test_results.handlers import builderstatehandler 32 from appengine_module.test_results.handlers import builderstatehandler
33 from appengine_module.test_results.handlers import menu 33 from appengine_module.test_results.handlers import menu
34 from appengine_module.test_results.handlers import redirector
34 from appengine_module.test_results.handlers import testfilehandler 35 from appengine_module.test_results.handlers import testfilehandler
35 36
36 routes = [ 37 routes = [
37 ('/testfile/delete', testfilehandler.DeleteFile), 38 ('/testfile/delete', testfilehandler.DeleteFile),
38 ('/testfile/upload', testfilehandler.Upload), 39 ('/testfile/upload', testfilehandler.Upload),
39 ('/testfile/uploadform', testfilehandler.UploadForm), 40 ('/testfile/uploadform', testfilehandler.UploadForm),
40 ('/testfile/?', testfilehandler.GetFile), 41 ('/testfile/?', testfilehandler.GetFile),
41 ('/builders', buildershandler.GetBuilders), 42 ('/builders', buildershandler.GetBuilders),
42 ('/updatebuilders', buildershandler.UpdateBuilders), 43 ('/updatebuilders', buildershandler.UpdateBuilders),
43 ('/builderstate', builderstatehandler.GetBuilderState), 44 ('/builderstate', builderstatehandler.GetBuilderState),
44 ('/updatebuilderstate', builderstatehandler.Update), 45 ('/updatebuilderstate', builderstatehandler.Update),
45 ('/', menu.Menu), 46 ('/', menu.Menu),
47 webapp2.Route('/revision_range', webapp2.RedirectHandler, defaults={
48 '_uri': redirector.get_googlesource_url}),
46 ] 49 ]
47 50
48 app = webapp2.WSGIApplication(routes, debug=True) 51 app = webapp2.WSGIApplication(routes, debug=True)
OLDNEW
« no previous file with comments | « appengine_module/test_results/handlers/test/redirector_test.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698