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

Unified Diff: milo/appengine/common/middleware.go

Issue 2856273004: Milo: Increase test coverage for appengine/buildbot (Closed)
Patch Set: GoFmt Created 3 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: milo/appengine/common/middleware.go
diff --git a/milo/appengine/common/middleware.go b/milo/appengine/common/middleware.go
index 3397d6e808d3ef7de65f1297f5e7e77caeb93592..0a6482cbc8c0094875d973d7cad82523f5b8a08e 100644
--- a/milo/appengine/common/middleware.go
+++ b/milo/appengine/common/middleware.go
@@ -30,7 +30,7 @@ var authconfig *auth.Config
// passed to all templates.
func GetTemplateBundle() *templates.Bundle {
return &templates.Bundle{
- Loader: templates.FileSystemLoader("templates"),
+ Loader: templates.FileSystemLoader("../frontend/templates"),
nodir 2017/05/25 15:23:04 when running a test, cwd is test location, and I a
Ryan Tseng 2017/05/26 18:10:52 Acknowledged. Yeah I think the main value of the
nodir 2017/05/26 18:33:04 yeah, a separate CL is fine. I don't think we pay
DebugMode: info.IsDevAppServer,
DefaultTemplate: "base",
DefaultArgs: func(c context.Context) (templates.Args, error) {

Powered by Google App Engine
This is Rietveld 408576698